Fixed initrd args in -nofirmware.iso.
This commit is contained in:
parent
618772f2d3
commit
02e5c7c901
@ -7,7 +7,7 @@ NOFIRMWARE=$4
|
|||||||
|
|
||||||
TEMP_DIR=$(mktemp -d)
|
TEMP_DIR=$(mktemp -d)
|
||||||
|
|
||||||
APPEND_FIRMWARE=",/rescue/firmware.img"
|
APPEND_FIRMWARE="/rescue/firmware.img"
|
||||||
FILENAME="wmirescue_$ARCH.iso"
|
FILENAME="wmirescue_$ARCH.iso"
|
||||||
|
|
||||||
mkdir -p $TEMP_DIR/boot/bios/i386-pc
|
mkdir -p $TEMP_DIR/boot/bios/i386-pc
|
||||||
@ -104,12 +104,12 @@ set theme="/boot/theme.txt"
|
|||||||
|
|
||||||
menuentry "wmirescue-$ARCH" {
|
menuentry "wmirescue-$ARCH" {
|
||||||
linux /rescue/$ARCH/vmlinuz
|
linux /rescue/$ARCH/vmlinuz
|
||||||
initrd /rescue/$ARCH/initrd.img /rescue/firmware.img
|
initrd /rescue/$ARCH/initrd.img $APPEND_FIRMWARE
|
||||||
}
|
}
|
||||||
|
|
||||||
menuentry "wmirescue-$ARCH-serial" {
|
menuentry "wmirescue-$ARCH-serial" {
|
||||||
linux /rescue/$ARCH/vmlinuz console=ttyS0,115200n8
|
linux /rescue/$ARCH/vmlinuz console=ttyS0,115200n8
|
||||||
initrd /rescue/$ARCH/initrd.img /rescue/firmware.img
|
initrd /rescue/$ARCH/initrd.img $APPEND_FIRMWARE
|
||||||
}
|
}
|
||||||
|
|
||||||
menuentry "memtest" {
|
menuentry "memtest" {
|
||||||
@ -128,12 +128,12 @@ set theme="/boot/theme.txt"
|
|||||||
|
|
||||||
menuentry "wmirescue-$ARCH" {
|
menuentry "wmirescue-$ARCH" {
|
||||||
linux /rescue/$ARCH/vmlinuz
|
linux /rescue/$ARCH/vmlinuz
|
||||||
initrd /rescue/$ARCH/initrd.img /rescue/firmware.img
|
initrd /rescue/$ARCH/initrd.img $APPEND_FIRMWARE
|
||||||
}
|
}
|
||||||
|
|
||||||
menuentry "wmirescue-$ARCH-serial" {
|
menuentry "wmirescue-$ARCH-serial" {
|
||||||
linux /rescue/$ARCH/vmlinuz console=ttyS0,115200n8
|
linux /rescue/$ARCH/vmlinuz console=ttyS0,115200n8
|
||||||
initrd /rescue/$ARCH/initrd.img /rescue/firmware.img
|
initrd /rescue/$ARCH/initrd.img $APPEND_FIRMWARE
|
||||||
}
|
}
|
||||||
|
|
||||||
menuentry "memtest" {
|
menuentry "memtest" {
|
||||||
|
Loading…
Reference in New Issue
Block a user