diff options
author | maanyagoenka <maanyagoenka@microsoft.com> | 2023-02-24 01:37:52 +0100 |
---|---|---|
committer | maanyagoenka <maanyagoenka@microsoft.com> | 2023-04-05 23:50:04 +0200 |
commit | b60e0f577740af89516f7c74967d7182637f27af (patch) | |
tree | a384a6b2ab9435acc7feb1958948995b9238b2e3 /src/sysext | |
parent | Merge pull request #27154 from DaanDeMeyer/kconfig (diff) | |
download | systemd-b60e0f577740af89516f7c74967d7182637f27af.tar.xz systemd-b60e0f577740af89516f7c74967d7182637f27af.zip |
os-util: add a new confext image type and the ability to parse their release files
Adds a new image type called IMAGE_CONFEXT which is similar to IMAGE_SYSEXT but works
for the /etc/ directory instead of /usr/ and /opt/. This commit also adds the ability to
parse the release file that is present with the confext image in /etc/confext-release.d/
directory.
Diffstat (limited to 'src/sysext')
-rw-r--r-- | src/sysext/sysext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sysext/sysext.c b/src/sysext/sysext.c index 5632b72f3d..e7d8e801fc 100644 --- a/src/sysext/sysext.c +++ b/src/sysext/sysext.c @@ -729,7 +729,7 @@ static int image_discover_and_read_metadata(Hashmap **ret_images) { if (!images) return log_oom(); - r = image_discover(IMAGE_EXTENSION, arg_root, images); + r = image_discover(IMAGE_SYSEXT, arg_root, images); if (r < 0) return log_error_errno(r, "Failed to discover extension images: %m"); @@ -832,7 +832,7 @@ static int verb_list(int argc, char **argv, void *userdata) { if (!images) return log_oom(); - r = image_discover(IMAGE_EXTENSION, arg_root, images); + r = image_discover(IMAGE_SYSEXT, arg_root, images); if (r < 0) return log_error_errno(r, "Failed to discover extension images: %m"); |