summaryrefslogtreecommitdiffstats
path: root/discover/grub2
diff options
context:
space:
mode:
Diffstat (limited to 'discover/grub2')
-rw-r--r--discover/grub2/script.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/discover/grub2/script.c b/discover/grub2/script.c
index c4f58d9..642ed2a 100644
--- a/discover/grub2/script.c
+++ b/discover/grub2/script.c
@@ -435,6 +435,9 @@ static void init_env(struct grub2_script *script)
script_env_set(script, "prefix", prefix ? : default_prefix);
if (prefix)
talloc_free(prefix);
+
+ /* establish feature settings */
+ script_env_set(script, "feature_menuentry_id", "y");
}
void script_register_function(struct grub2_script *script,
OpenPOWER on IntegriCloud