diff options
-rwxr-xr-x | src/grub-efi.sh | 7 | ||||
-rwxr-xr-x | src/xorriso-usb.sh | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/grub-efi.sh b/src/grub-efi.sh index 611e85f..350c28d 100755 --- a/src/grub-efi.sh +++ b/src/grub-efi.sh | |||
@@ -1,7 +1,12 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | . samizdat-paths.sh | 2 | . samizdat-paths.sh |
3 | 3 | ||
4 | linux_kernel_commandline='boot=samizdat components quiet nbdroot=192.168.10.1/samizdat.btrfs nbddev=/dev/nbd0 ip=dhcp' | 4 | if [ "$BOOTLOADER_ONLY" ] |
5 | then | ||
6 | linux_kernel_commandline='boot=samizdat components quiet nbdroot=192.168.10.1/samizdat.btrfs nbddev=/dev/nbd0 ip=dhcp' | ||
7 | else | ||
8 | linux_kernel_commandline='boot=samizdat components quiet' | ||
9 | fi | ||
5 | 10 | ||
6 | grub_config() | 11 | grub_config() |
7 | { | 12 | { |
diff --git a/src/xorriso-usb.sh b/src/xorriso-usb.sh index b811c7f..594ff78 100755 --- a/src/xorriso-usb.sh +++ b/src/xorriso-usb.sh | |||
@@ -195,7 +195,7 @@ while [ $# -gt 0 ]; do | |||
195 | case "$1" in | 195 | case "$1" in |
196 | --) shift; break;; | 196 | --) shift; break;; |
197 | --adam) shift; ADAM=y;; | 197 | --adam) shift; ADAM=y;; |
198 | --bootloader) shift; BOOTLOADER_ONLY=y;; | 198 | --bootloader) shift; export BOOTLOADER_ONLY=y;; |
199 | --cdrom) shift; USB=;; | 199 | --cdrom) shift; USB=;; |
200 | --detach) shift; DETACH=y;; | 200 | --detach) shift; DETACH=y;; |
201 | --in) INPUT_DEVICE="$2"; shift 2;; | 201 | --in) INPUT_DEVICE="$2"; shift 2;; |