From fb0d4e2a18746e817fa3d13f2ccc2f9788c65666 Mon Sep 17 00:00:00 2001 From: Raphaƫl Hertzog Date: Tue, 29 Nov 2016 18:18:01 +0100 Subject: Use a grub theme that integrates reasonably well with the current background picture. --- scripts/build/binary_syslinux | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'scripts/build') diff --git a/scripts/build/binary_syslinux b/scripts/build/binary_syslinux index 1a442d7a2..80ee6d874 100755 --- a/scripts/build/binary_syslinux +++ b/scripts/build/binary_syslinux @@ -308,6 +308,13 @@ then rm -f "${_TARGET}/splash.svg" fi +# Tweak the grub theme to reuse the syslinux background image +if [ -e binary/boot/grub/live-theme/theme.txt ]; then + sed -i -e 's|^desktop-image:.*|desktop-image: "/isolinux/splash.png"|' \ + -e 's|^title-text:.*|title-text: ""|' \ + binary/boot/grub/live-theme/theme.txt +fi + case "${LB_MODE}" in progress-linux) for _FILE in "${_TARGET}/isolinux.bin" "${_TARGET}/isolinux.cfg" "${_TARGET}/syslinux.cfg" -- cgit v1.2.3