]> git.ipfire.org Git - thirdparty/systemd.git/commit
bootctl: make bootspec-util.c independent of bootctl.c 41695/head
authorLennart Poettering <lennart@amutable.com>
Fri, 17 Apr 2026 14:34:34 +0000 (16:34 +0200)
committerLennart Poettering <lennart@amutable.com>
Fri, 17 Apr 2026 16:52:35 +0000 (18:52 +0200)
commitb54af7ce9a61df973fb269e6c6d5d7c217b8a0ac
tree22255ad682a3476eecdac4049344ebcbd65127a3
parentf85415498cf3800bef26b1092096e658a8211e97
bootctl: make bootspec-util.c independent of bootctl.c

This changes boot_config_load_and_select() to also take the root path as
input, just like the ESP and XBOOTLDR path.

This has the benefit of making the whole file independent of bootctl.c,
which means we can link it into a separate test, and is preparatory work
for a follow-up commit.
src/bootctl/bootctl-cleanup.c
src/bootctl/bootctl-status.c
src/bootctl/bootctl-unlink.c
src/bootctl/bootspec-util.c
src/bootctl/bootspec-util.h