diff options
author | Andrew Cady <d@jerkface.net> | 2017-03-28 15:58:45 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2017-03-28 15:58:52 -0400 |
commit | db22b9daf53beece1ea94006155079a1653deec4 (patch) | |
tree | a0227d7eae299298e6341d43bab88791163ff8f2 | |
parent | 916e9a2d5dcb69dbbe7b92f4d6f43050992b9846 (diff) |
xorriso-usb will install initrd even with --bootloader flag
This is more useful. The flag might be renamed "--skip-rootfs" or such.
-rw-r--r-- | src/xorriso-usb.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/xorriso-usb.sh b/src/xorriso-usb.sh index 03c6482..511ba0e 100644 --- a/src/xorriso-usb.sh +++ b/src/xorriso-usb.sh | |||
@@ -213,8 +213,7 @@ xorriso \ | |||
213 | ${XORRISO_IS_DRIVING_ME_INSANE} \ | 213 | ${XORRISO_IS_DRIVING_ME_INSANE} \ |
214 | \ | 214 | \ |
215 | \ | 215 | \ |
216 | ${REPLACE_INITRD:+ -rm_r linux -- -add linux="${vmlinuz_dir}" -- } \ | 216 | -rm_r linux -- -add linux="${vmlinuz_dir}" -- \ |
217 | ${BOOTLOADER_ONLY:+ -add linux="${vmlinuz_dir}" -- } \ | ||
218 | ${REMOVE_BTRFS:+ -rm_r rootfs -- } \ | 217 | ${REMOVE_BTRFS:+ -rm_r rootfs -- } \ |
219 | ${ADD_BTRFS:+ -follow link -add "$@" -- -follow default } \ | 218 | ${ADD_BTRFS:+ -follow link -add "$@" -- -follow default } \ |
220 | \ | 219 | \ |