diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-01-12 17:18:53 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-01-19 13:41:42 +0100 |
commit | d577d4a432dd7bb056d2f7df53956122ebcb1ab0 (patch) | |
tree | 12fe73d70c67def5ad1cc4b8afd5b8a699928be1 /src/sysext | |
parent | man: add man page for systemd-sysext (diff) | |
download | systemd-d577d4a432dd7bb056d2f7df53956122ebcb1ab0.tar.xz systemd-d577d4a432dd7bb056d2f7df53956122ebcb1ab0.zip |
machine-image: properly support searching for images below some --root= path
systemd-sysext supports --root= for everything but the image discovery.
Fix that.
Diffstat (limited to 'src/sysext')
-rw-r--r-- | src/sysext/sysext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysext/sysext.c b/src/sysext/sysext.c index 4f92d563af..ea307dc1d6 100644 --- a/src/sysext/sysext.c +++ b/src/sysext/sysext.c @@ -897,7 +897,7 @@ static int run(int argc, char *argv[]) { if (!images) return log_oom(); - r = image_discover(IMAGE_EXTENSION, images); + r = image_discover(IMAGE_EXTENSION, arg_root, images); if (r < 0) return log_error_errno(r, "Failed to discover extension images: %m"); |