Fix bootloader configuration for live env
This commit is contained in:
parent
364b1234f3
commit
422ea1739f
10
buildiso.sh
10
buildiso.sh
|
@ -163,11 +163,11 @@ cp ../../templates/serial-getty-override.conf config/includes.chroot/etc/systemd
|
||||||
echo "done."
|
echo "done."
|
||||||
|
|
||||||
# Install GRUB config, theme, and splash
|
# Install GRUB config, theme, and splash
|
||||||
echo -n "Copying GRUB templates... "
|
echo -n "Copying bootloader (GRUB) templates... "
|
||||||
mkdir -p config/includes.chroot/boot/grub
|
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/includes.chroot/boot/grub/grub.cfg || fail "Failed to copy critical template file"
|
cp ../../templates/grub.cfg config/bootloaders/grub-pc/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/theme.txt config/bootloaders/grub-pc/live-theme/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"
|
cp ../../templates/splash.png config/bootloaders/grub-pc/splash.png || fail "Failed to copy critical template file"
|
||||||
echo "done."
|
echo "done."
|
||||||
|
|
||||||
# Install module blacklist template
|
# Install module blacklist template
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
title-text: ""
|
title-text: ""
|
||||||
desktop-image: "/splash.png"
|
desktop-image: "/boot/grub/splash.png"
|
||||||
terminal-width: "800"
|
terminal-width: "800"
|
||||||
terminal-height: "600"
|
terminal-height: "600"
|
||||||
+ boot_menu {
|
+ boot_menu {
|
||||||
|
|
Loading…
Reference in New Issue