[postcfg] enable menu_auto_hide option
This commit is contained in:
parent
0c29aa2df8
commit
84659674cd
@ -101,6 +101,10 @@ class ConfigController:
|
||||
and libcalamares.globalstorage.value("bootLoader") is not None:
|
||||
target_env_call(["update-grub"])
|
||||
|
||||
# Enable 'menu_auto_hide' when supported in grubenv
|
||||
if exists(join(self.root, "usr/bin/grub-set-bootflag"))
|
||||
target_env_call(["grub-editenv - set menu_auto_hide=1"])
|
||||
|
||||
return None
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user