aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/image/grub.cfg
diff options
context:
space:
mode:
authorKjel Delaey <kjel_delaey@hotmail.com>2018-06-05 15:47:05 +0200
committerJohn Crispin <john@phrozen.org>2018-07-30 15:55:21 +0200
commit8492ad0cc183550137ea5afadcbebbfb4fd68fed (patch)
tree2dfa2af3d94f7e84da27451453e14d16be4eea05 /target/linux/x86/image/grub.cfg
parent27b2f0fc0fc5513304a5be3c5b8cb23aeb09e6f5 (diff)
downloadupstream-8492ad0cc183550137ea5afadcbebbfb4fd68fed.tar.gz
upstream-8492ad0cc183550137ea5afadcbebbfb4fd68fed.tar.bz2
upstream-8492ad0cc183550137ea5afadcbebbfb4fd68fed.zip
x86: add support to set GRUB menu entry title
$ make menuconfig Target Images -> Title for the menu entry in GRUB Signed-off-by: Kjel Delaey <kjel_delaey@hotmail.com>
Diffstat (limited to 'target/linux/x86/image/grub.cfg')
-rw-r--r--target/linux/x86/image/grub.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/x86/image/grub.cfg b/target/linux/x86/image/grub.cfg
index 9ec6b2d39c..dedfa0a636 100644
--- a/target/linux/x86/image/grub.cfg
+++ b/target/linux/x86/image/grub.cfg
@@ -5,9 +5,9 @@ set default="0"
set timeout="@TIMEOUT@"
set root='(@ROOT@)'
-menuentry "OpenWrt" {
+menuentry "@TITLE@" {
linux /boot/vmlinuz @CMDLINE@ noinitrd
}
-menuentry "OpenWrt (failsafe)" {
+menuentry "@TITLE@ (failsafe)" {
linux /boot/vmlinuz failsafe=true @CMDLINE@ noinitrd
}