Bug 1216366 - YaST installation with sd-boot: Disabling the menu timeout is not possible
Summary: YaST installation with sd-boot: Disabling the menu timeout is not possible
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Installation (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Enhancement (vote)
Target Milestone: ---
Assignee: Stefan Schubert
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-18 08:42 UTC by Fabian Vogt
Modified: 2024-02-27 10:47 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 !