Add dependency erofs-utils

This commit is contained in:
Howard Wu 2023-05-13 20:51:52 +08:00
parent cde01be6c8
commit fd9569ce6e
2 changed files with 5 additions and 4 deletions

View File

@ -9,8 +9,8 @@
The following dependencies are required:
| DistrOS | | | | |
|:-------------------:|--------------------------------------------------------------------------------|------------|--------------|--------------------|
| Debian | `lzip patchelf e2fsprogs python3 python3-pip aria2 p7zip-full attr unzip sudo` | `whiptail` | `qemu-utils` | `python3-venv` |
|:-------------------:|--------------------------------------------------------------------------------------------|------------|--------------|--------------------|
| Debian | `lzip patchelf e2fsprogs python3 python3-pip aria2 p7zip-full attr unzip sudo erofs-utils` | `whiptail` | `qemu-utils` | `python3-venv` |
| openSUSE Tumbleweed | Same as above | `dialog` | `qemu-tools` | `python3-venvctrl` |
The python3 library `requests` is used.

View File

@ -50,6 +50,7 @@ check_dependencies() {
command -v unzip >/dev/null 2>&1 || NEED_INSTALL+=("unzip")
command -v qemu-img >/dev/null 2>&1 || NEED_INSTALL+=("qemu-utils")
command -v sudo >/dev/null 2>&1 || NEED_INSTALL+=("sudo")
command -v mkfs.erofs >/dev/null 2>&1 || NEED_INSTALL+=("erofs-utils")
python3 -c "import venv" >/dev/null 2>&1 || NEED_INSTALL+=("python3-venv")
}
check_dependencies