mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 05:36:32 +00:00
grub: adjust splashimage in menu.lst depending on configuration
Make the splashimage line in menu.lst only active when splashimage support has really been enabled in the Grub configuration. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
bba9eb1ea4
commit
741740cee6
@ -66,6 +66,7 @@ GRUB_CONF_OPT = \
|
|||||||
ifeq ($(BR2_TARGET_GRUB_SPLASH),y)
|
ifeq ($(BR2_TARGET_GRUB_SPLASH),y)
|
||||||
define GRUB_INSTALL_SPLASH
|
define GRUB_INSTALL_SPLASH
|
||||||
cp boot/grub/splash.xpm.gz $(TARGET_DIR)/boot/grub/
|
cp boot/grub/splash.xpm.gz $(TARGET_DIR)/boot/grub/
|
||||||
|
$(SED) 's/^#splashimage/splashimage/' $(TARGET_DIR)/boot/grub/menu.lst
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
default=0
|
default=0
|
||||||
timeout=5
|
timeout=5
|
||||||
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
|
#splashimage=(hd0,0)/boot/grub/splash.xpm.gz
|
||||||
hiddenmenu
|
hiddenmenu
|
||||||
title Buildroot
|
title Buildroot
|
||||||
root (hd0,0)
|
root (hd0,0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user