diff --git a/buildiso.sh b/buildiso.sh index d146d0d..02cc3ae 100755 --- a/buildiso.sh +++ b/buildiso.sh @@ -163,11 +163,11 @@ cp ../../templates/serial-getty-override.conf config/includes.chroot/etc/systemd echo "done." # Install GRUB config, theme, and splash -echo -n "Copying GRUB templates... " -mkdir -p config/includes.chroot/boot/grub -cp ../../templates/grub.cfg config/includes.chroot/boot/grub/grub.cfg || fail "Failed to copy critical template file" -cp ../../templates/theme.txt config/includes.chroot/boot/grub/theme.txt || fail "Failed to copy critical template file" -cp ../../templates/splash.png config/includes.chroot/splash.png || fail "Failed to copy critical template file" +echo -n "Copying bootloader (GRUB) templates... " +cp -a /usr/share/live/build/bootloaders/grub-pc config/bootloaders/ || fail "Failed to copy grub-pc bootloader config from host system" +cp ../../templates/grub.cfg config/bootloaders/grub-pc/grub.cfg || fail "Failed to copy critical template file" +cp ../../templates/theme.txt config/bootloaders/grub-pc/live-theme/theme.txt || fail "Failed to copy critical template file" +cp ../../templates/splash.png config/bootloaders/grub-pc/splash.png || fail "Failed to copy critical template file" echo "done." # Install module blacklist template diff --git a/templates/theme.txt b/templates/theme.txt index 654252c..1fafe89 100644 --- a/templates/theme.txt +++ b/templates/theme.txt @@ -1,5 +1,5 @@ title-text: "" -desktop-image: "/splash.png" +desktop-image: "/boot/grub/splash.png" terminal-width: "800" terminal-height: "600" + boot_menu {