diff options
author | Eric Hameleers <alien@slackware.com> | 2021-10-26 13:06:40 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2021-10-26 13:06:40 +0200 |
commit | 53d1ce489809bcca6ed8e27d3afb5ee519bc4678 (patch) | |
tree | 9ab1741f7a1dce210a60722ab33743c213c90427 /iso2usb.sh | |
parent | 7d2e1d26cbf10f342b8078040234f2ac354ec320 (diff) | |
download | liveslak-53d1ce489809bcca6ed8e27d3afb5ee519bc4678.tar.gz liveslak-53d1ce489809bcca6ed8e27d3afb5ee519bc4678.tar.xz |
iso2usb.sh: support lzip-ed initrd. Better listing of tool requirements
Diffstat (limited to 'iso2usb.sh')
-rw-r--r-- | iso2usb.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -80,7 +80,7 @@ DOLUKS=0 REFRESH=0 # These tools are required by the script, we will check for their existence: -REQTOOLS="blkid cpio extlinux fdisk gdisk isoinfo lsblk mkdosfs sgdisk syslinux wipefs" +REQTOOLS="blkid cpio cryptsetup extlinux fdisk find gdisk gzip isoinfo losetup lsblk lzip mkdosfs sgdisk syslinux wipefs xz" # Path to syslinux files: if [ -d /usr/share/syslinux ]; then @@ -204,6 +204,8 @@ uncompressfs () { gzip -cd "${1}" elif $(file "${1}" | grep -qi ": XZ"); then xz -cd "${1}" + elif $(file "${1}" | grep -qi ": lzip"); then + lzip -cd "${1}" fi } |