]> git.ipfire.org Git - thirdparty/systemd.git/commit
bootctl: rework to use common verbs parsing, and add searching of ESP path
authorLennart Poettering <lennart@poettering.net>
Tue, 19 Jul 2016 18:19:20 +0000 (20:19 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 21 Jul 2016 09:37:58 +0000 (11:37 +0200)
commit2f2c539cd4af7ca526296adecff2a6f90d7d7b0c
treeac362ba1848eeada8860aa96a09c63d9372b0319
parentc18532e031d2923e095a189999c289be13aea7b8
bootctl: rework to use common verbs parsing, and add searching of ESP path

This rearranges bootctl a bit, so that it uses the usual verbs parsing
routines, and automatically searches the ESP in /boot, /efi or /boot/efi, thus
increasing compatibility with mainstream distros that insist on /boot/efi.

This also adds minimal support for running bootctl in a container environment:
when run inside a container verification of the ESP via raw block device
access, trusting the container manager to mount the ESP correctly. Moreover,
EFI variables are not accessed when running in the container.
man/bootctl.xml
src/boot/bootctl.c