Bug 1216366

Summary: YaST installation with sd-boot: Disabling the menu timeout is not possible
Product: [openSUSE] openSUSE Tumbleweed Reporter: Fabian Vogt <fvogt>
Component: InstallationAssignee: Stefan Schubert <schubi>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Enhancement    
Priority: P5 - None CC: yast2-maintainers
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Fabian Vogt 2023-10-18 08:42:04 UTC
To disable the timeout for the systemd-boot menu, "menu-force" needs to be used, but YaST only allows integer values for the timeout. When -1 is entered, systemd-boot prints an error message that this is an invalid value.

Either YaST should explicitly support menu-force or translate -1 to menu-force internally.
Comment 1 Stefan Schubert 2023-11-13 14:37:07 UTC
Hm, as far I see menu-force is only in EFI variable LoaderConfigTimeout defined.
The timeout will be set in /boot/efi/loader/loader.conf in which you cannot set any menu-force entry.
Currently YaST do not handle EFI variable so far I see.
But I think it is worth for a feature :-)
Comment 2 Fabian Vogt 2024-02-02 10:25:22 UTC
(In reply to Stefan Schubert from comment #1)
> Hm, as far I see menu-force is only in EFI variable LoaderConfigTimeout
> defined.
> The timeout will be set in /boot/efi/loader/loader.conf in which you cannot
> set any menu-force entry.

The setting for loader.conf is "timeout menu-force".
Comment 3 Stefan Schubert 2024-02-27 10:47:15 UTC
Fixed with:
https://github.com/yast/yast-bootloader/pull/695
Thank you !