From 35defd5bb2ed7915a6ace90de32b3d274dc59178 Mon Sep 17 00:00:00 2001 From: Roland Clobus Date: Wed, 22 Nov 2023 16:13:31 +0100 Subject: [PATCH] rebuild: Don't use a symlink for the splash screen This is a first step for supporting File System Transposition --- test/rebuild.sh | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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