summaryrefslogtreecommitdiff
path: root/src/xorriso-usb.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/xorriso-usb.sh')
-rw-r--r--src/xorriso-usb.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/xorriso-usb.sh b/src/xorriso-usb.sh
index 61fcda0..7ff9825 100644
--- a/src/xorriso-usb.sh
+++ b/src/xorriso-usb.sh
@@ -35,6 +35,10 @@ fi
35 35
36for fs; do 36for fs; do
37 [ -f "$fs" ] || die "not a file: $fs" 37 [ -f "$fs" ] || die "not a file: $fs"
38 case "$fs" in
39 *.btrfs) ;;
40 *) die "invalid name (does not match *.btrfs): $fs" ;;
41 esac
38 shift 42 shift
39 set -- "$@" "rootfs/${fs##*/}=$fs" 43 set -- "$@" "rootfs/${fs##*/}=$fs"
40done 44done
@@ -137,7 +141,7 @@ if [ "$QUICK_TEST" ]; then
137fi 141fi
138 142
139if [ "$REPLACE_INITRD" ]; then 143if [ "$REPLACE_INITRD" ]; then
140 initrd.sh 144 initrd.sh || die 'initrd.sh failed'
141fi 145fi
142 146
143(set -x 147(set -x