summaryrefslogtreecommitdiffstats
path: root/iso2usb.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2019-02-16 18:32:59 +0100
committer Eric Hameleers <alien@slackware.com>2019-02-16 18:32:59 +0100
commit7cdd733ba9b2418c6c1fa018940eba78a01b85c4 (patch)
tree628ea6ce738a66090ac5ac1aa6793b4e33f45c8e /iso2usb.sh
parentdf0b4dcefed769208d93c8936dd625af7aa27b14 (diff)
downloadliveslak-7cdd733ba9b2418c6c1fa018940eba78a01b85c4.tar.gz
liveslak-7cdd733ba9b2418c6c1fa018940eba78a01b85c4.tar.xz
iso2usb.sh: warn and exit if zstd support is missing
Diffstat (limited to 'iso2usb.sh')
-rw-r--r--iso2usb.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/iso2usb.sh b/iso2usb.sh
index efcaad5..237e553 100644
--- a/iso2usb.sh
+++ b/iso2usb.sh
@@ -419,7 +419,7 @@ while [ ! -z "$1" ]; do
HLUKSSIZE="$2"
DOLUKS=1
# Needs unsquashfs to extract the /home
- REQTOOLS="${REQTOOLS} unsquashfs"
+ REQTOOLS="${REQTOOLS} unsquashfs zstd"
shift 2
;;
-d|--devices)
@@ -544,6 +544,11 @@ done
if [ ! -z "$PROG_MISSING" ] ; then
echo "-- Required program(s) not found in search path '$PATH'!"
echo -e ${PROG_MISSING}
+ if echo ${PROG_MISSING} |grep -wq zstd ; then
+ echo "-- Note that the 'zstd' program is missing which means"
+ echo "-- unsquashfs is not linking against it."
+ echo "-- Install the zstd and squashf-stools packages for zstd support."
+ fi
echo "-- Exiting."
exit 1
fi