bootctl: add --print-efi-architecture switch

This is extremely useful for our own test cases, since acquiring the
right EFI architecture string is otherwise a bit nasty.
This commit is contained in:
Lennart Poettering
2026-04-20 22:21:46 +02:00
committed by Lennart Poettering
parent c99e93ce0a
commit 2251f726b3
6 changed files with 32 additions and 2 deletions
+1
View File
@@ -24,6 +24,7 @@ extern bool arg_print_dollar_boot_path;
extern bool arg_print_loader_path;
extern bool arg_print_stub_path;
extern unsigned arg_print_root_device;
extern bool arg_print_efi_architecture;
extern int arg_touch_variables;
extern bool arg_install_random_seed;
extern PagerFlags arg_pager_flags;