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
@@ -35,6 +35,7 @@ _bootctl() {
[STANDALONE]='-h --help --version
-p --print-esp-path -x --print-boot-path --print-loader-path
--print-stub-path -R --print-root-device -RR
--print-efi-architecture
--no-pager --graceful -q --quiet --all-architectures
--dry-run'
[ARG]='--esp-path --boot-path --root --image --image-policy --install-source