mirror of
https://github.com/rancher/os.git
synced 2025-09-24 20:09:21 +00:00
make ros install --append work
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
TIMEOUT 20 #2s
|
||||
PROMPT 1
|
||||
|
||||
# doesn't appear to work here?
|
||||
INCLUDE ../global.cfg
|
||||
|
||||
# each INCLUDEd file has a `DEFAULT mylabel` in it, and the last one wins
|
||||
INCLUDE ../linux-previous.cfg
|
||||
INCLUDE ../linux-current.cfg
|
||||
|
@@ -6,5 +6,6 @@ LABEL rancheros-${LABEL}
|
||||
KERNEL /boot/vmlinuz-${KERNEL_VERSION}
|
||||
INITRD /boot/initrd
|
||||
#TODO - once we work out how to append it for qemu-dev,/boot/linuxmods-${KERNEL_VERSION}
|
||||
APPEND quiet rancher.autologin=tty1 rancher.autologin=ttyS0 ${APPEND}
|
||||
#APPEND quiet rancher.autologin=tty1 rancher.autologin=ttyS0 ${APPEND}
|
||||
#INCLUDE global.cfg
|
||||
|
||||
|
@@ -28,7 +28,8 @@ cp ${ARTIFACTS}/vmlinuz-${KERNEL_VERSION} ${CD}/boot/
|
||||
|
||||
cat scripts/isolinux.cfg | envsubst > ${CD}/boot/isolinux/isolinux.cfg
|
||||
cat scripts/isolinux_label.cfg | LABEL=${VERSION} envsubst > ${CD}/boot/linux-current.cfg
|
||||
cat scripts/isolinux_label.cfg | LABEL=debug APPEND="rancher.debug=true" envsubst > ${CD}/boot/linux-previous.cfg
|
||||
#cat scripts/isolinux_label.cfg | LABEL=debug APPEND="rancher.debug=true" envsubst > ${CD}/boot/linux-previous.cfg
|
||||
cat scripts/global.cfg | LABEL=${VERSION} envsubst > ${CD}/boot/global.cfg
|
||||
|
||||
cp /usr/lib/ISOLINUX/isolinux.bin ${CD}/boot/isolinux/
|
||||
cp /usr/lib/syslinux/modules/bios/ldlinux.c32 ${CD}/boot/isolinux/
|
||||
|
Reference in New Issue
Block a user