]> git.ipfire.org Git - thirdparty/systemd.git/commit
bootctl: make sure bootctl --image= works on image with /usr/ but without /
authorLennart Poettering <lennart@poettering.net>
Wed, 12 Mar 2025 20:56:36 +0000 (21:56 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 13 Mar 2025 09:49:33 +0000 (10:49 +0100)
commit742e26ba20f9362539a4bc30e26ff49e9ec83a87
tree630e357e919aa61a0b5219e61f3e5bf9055211fa
parent76f1c9467409e5a8e2b78d8f7e18c45d231b6ffe
bootctl: make sure bootctl --image= works on image with /usr/ but without /

Let's make sure we can use the tool on ParticleOS images. They have no
root fs by default (until they are instantiated), but always have /usr/.
Hence add DISSECT_IMAGE_USR_NO_ROOT which has the desired effect.
src/bootctl/bootctl.c