mirror of
https://github.com/rancher/os.git
synced 2025-09-19 00:59:53 +00:00
Add isolinux cfg files to installer, and add ros to base installer for now
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
@@ -22,14 +22,11 @@ cp ${ARTIFACTS}/initrd ${CD}/boot
|
||||
# TODO: these move to os-kernel
|
||||
pwd
|
||||
ls dist/artifacts/vmlinuz-${KERNEL_VERSION}
|
||||
|
||||
cp ${ARTIFACTS}/vmlinuz-${KERNEL_VERSION} ${CD}/boot/
|
||||
#TODO cp ${ARTIFACTS}/linuxmods-${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/global.cfg | LABEL=${VERSION} envsubst > ${CD}/boot/global.cfg
|
||||
# cfg files creation moved to package-installer
|
||||
cp -r ${DIST}/boot/* ${CD}/boot/
|
||||
|
||||
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