bootctl: move arg_touch_variables checkers to bootctl-util.c

No functional change, just refactoring.
This commit is contained in:
Yu Watanabe
2026-02-13 16:11:30 +09:00
parent 3c5ed73030
commit 28fa318b16
6 changed files with 75 additions and 58 deletions
-2
View File
@@ -59,8 +59,6 @@ GracefulMode arg_graceful(void);
int acquire_esp(int unprivileged_mode, bool graceful, uint32_t *ret_part, uint64_t *ret_pstart, uint64_t *ret_psize, sd_id128_t *ret_uuid, dev_t *ret_devid);
int acquire_xbootldr(int unprivileged_mode, sd_id128_t *ret_uuid, dev_t *ret_devid);
bool touch_variables(void);
/* EFI_BOOT_OPTION_DESCRIPTION_MAX sets the maximum length for the boot option description
* stored in NVRAM. The UEFI spec does not specify a minimum or maximum length for this
* string, but we limit the length to something reasonable to prevent from the firmware