diff options
Diffstat (limited to 'src/parted-usb.sh')
-rwxr-xr-x | src/parted-usb.sh | 11 |
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' |
217 | samizdat_linux_dir=/boot | 217 | samizdat_linux_dir=/boot |
218 | 218 | ||
219 | DEFAULT_ROOTFS=rootfs/samizdat-gold.seed.btrfs | ||
220 | #DEFAULT_PATCHFS=rootfs/samizdat.patch.btrfs | ||
219 | 221 | ||
220 | [ "$ROOTFS" ] || ROOTFS=rootfs/samizdat-gold.seed.btrfs | 222 | if [ "$ROOTFS" ] |
221 | #PATCHFS=rootfs/samizdat.patch.btrfs | 223 | then |
224 | [ -f "$ROOTFS" ] || die "Not a file: $ROOTFS" | ||
225 | elif [ -f "$DEFAULT_ROOTFS" ] | ||
226 | then | ||
227 | ROOTFS=$DEFAULT_ROOTFS | ||
228 | fi | ||
222 | 229 | ||
223 | if [ ! "$GPG_INPUT_DIR" ] | 230 | if [ ! "$GPG_INPUT_DIR" ] |
224 | then | 231 | then |