summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorRaphaël Hertzog <hertzog@debian.org>2016-11-29 18:18:01 +0100
committerRaphaël Hertzog <hertzog@debian.org>2016-12-02 14:50:21 +0100
commitfb0d4e2a18746e817fa3d13f2ccc2f9788c65666 (patch)
treebf8d617c90d5b74481d678cc3ec22528de2413be /scripts/build
parente1941f82abd1215fa5d59059ee30c4eb55740c8b (diff)
downloadvyos-live-build-fb0d4e2a18746e817fa3d13f2ccc2f9788c65666.tar.gz
vyos-live-build-fb0d4e2a18746e817fa3d13f2ccc2f9788c65666.zip
Use a grub theme that integrates reasonably well with the current background picture.
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/binary_syslinux7
1 files changed, 7 insertions, 0 deletions
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"