mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
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.
This commit is contained in:
parent
76f1c94674
commit
742e26ba20
@ -718,6 +718,7 @@ static int run(int argc, char *argv[]) {
|
||||
arg_image,
|
||||
arg_image_policy,
|
||||
DISSECT_IMAGE_GENERIC_ROOT |
|
||||
DISSECT_IMAGE_USR_NO_ROOT |
|
||||
DISSECT_IMAGE_RELAX_VAR_CHECK |
|
||||
DISSECT_IMAGE_ALLOW_USERSPACE_VERITY,
|
||||
&mounted_dir,
|
||||
|
Loading…
x
Reference in New Issue
Block a user