summaryrefslogtreecommitdiff
path: root/src/parted-usb.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/parted-usb.sh')
-rwxr-xr-xsrc/parted-usb.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/parted-usb.sh b/src/parted-usb.sh
index 67e9593..62f9dd2 100755
--- a/src/parted-usb.sh
+++ b/src/parted-usb.sh
@@ -216,9 +216,16 @@ boot_vm()
216. samizdat-paths.sh || die 'samizdat-paths.sh not found' 216. samizdat-paths.sh || die 'samizdat-paths.sh not found'
217samizdat_linux_dir=/boot 217samizdat_linux_dir=/boot
218 218
219DEFAULT_ROOTFS=rootfs/samizdat-gold.seed.btrfs
220#DEFAULT_PATCHFS=rootfs/samizdat.patch.btrfs
219 221
220[ "$ROOTFS" ] || ROOTFS=rootfs/samizdat-gold.seed.btrfs 222if [ "$ROOTFS" ]
221#PATCHFS=rootfs/samizdat.patch.btrfs 223then
224 [ -f "$ROOTFS" ] || die "Not a file: $ROOTFS"
225elif [ -f "$DEFAULT_ROOTFS" ]
226then
227 ROOTFS=$DEFAULT_ROOTFS
228fi
222 229
223if [ ! "$GPG_INPUT_DIR" ] 230if [ ! "$GPG_INPUT_DIR" ]
224then 231then