Replace isolinux.cfg instead of menu.cfg

This commit is contained in:
Joshua Boniface 2023-09-01 15:41:53 -04:00
parent d9f43c47c4
commit a2b40021d0
2 changed files with 6 additions and 2 deletions

View File

@ -79,7 +79,7 @@ prepare_rootfs() {
build_iso() { build_iso() {
echo -n "Copying live boot configurations... " echo -n "Copying live boot configurations... "
sudo cp -a grub.cfg ${tempdir}/installer/boot/grub/grub.cfg &>/dev/null || fail "Error copying grub.cfg file." sudo cp -a grub.cfg ${tempdir}/installer/boot/grub/grub.cfg &>/dev/null || fail "Error copying grub.cfg file."
sudo cp -a menu.cfg ${tempdir}/installer/isolinux/menu.cfg &>/dev/null || fail "Error copying menu.cfg file." sudo cp -a isolinux.cfg ${tempdir}/installer/isolinux/isolinux.cfg &>/dev/null || fail "Error copying isolinux.cfg file."
sudo cp -a splash.png ${tempdir}/installer/isolinux/splash.png &>/dev/null || fail "Error copying splash.png file." sudo cp -a splash.png ${tempdir}/installer/isolinux/splash.png &>/dev/null || fail "Error copying splash.png file."
echo "done." echo "done."
@ -102,7 +102,7 @@ build_iso() {
echo "done." echo "done."
echo -n "Moving generated ISO to '$(pwd)/pvc-installer.iso'... " echo -n "Moving generated ISO to '$(pwd)/pvc-installer.iso'... "
mv ${tempdir}/pvc-installer.iso pvc-installer-new.iso &>/dev/null || fail "Error moving ISO file." mv ${tempdir}/pvc-installer.iso pvc-installer.iso &>/dev/null || fail "Error moving ISO file."
echo "done." echo "done."
} }

View File

@ -1,3 +1,7 @@
path
prompt 0
timeout 100
UI vesamenu.c32 UI vesamenu.c32
MENU background splash.png MENU background splash.png