diff --git a/test/rebuild.sh b/test/rebuild.sh index 4acc2e61e..4f244d382 100755 --- a/test/rebuild.sh +++ b/test/rebuild.sh @@ -581,13 +581,11 @@ case "$DEBIAN_VERSION" in "bookworm") mkdir -p config/bootloaders/syslinux_common wget --quiet https://salsa.debian.org/installer-team/debian-installer/-/raw/master/build/boot/artwork/12-emerald/emerald.svg -O config/bootloaders/syslinux_common/splash.svg - mkdir -p config/bootloaders/grub-pc - # To have a 800x600 image and the title 'Live Boot Menu with GRUB', manually do some of the tweaks from binary_syslinux - # 1) Use the sharper 800x600 image instead of 640x480 - # 2) Because the image is provided, the timestamp of theme.txt must be adjusted, otherwise it would be the date from the provided live-build folder - ln -s ../../isolinux/splash800x600.png config/bootloaders/grub-pc/splash.png - touch ${LIVE_BUILD}/share/bootloaders/grub-pc/live-theme -d@${SOURCE_DATE_EPOCH} - touch ${LIVE_BUILD}/share/bootloaders/grub-pc/live-theme/theme.txt -d@${SOURCE_DATE_EPOCH} + # To have a 800x600 image and the title 'Live Boot Menu with GRUB', manually undo the title-text modification from binary_syslinux + cat > config/hooks/live/5010-restore-grub-title.hook.binary << EOF +#!/bin/sh +sed -i -e 's|^title-text:.*|title-text: "Live Boot Menu with GRUB"|' boot/grub/live-theme/theme.txt +EOF ;; *) # Use the default 'under construction' image