diff options
author | maanyagoenka <maanyagoenka@microsoft.com> | 2023-02-24 00:37:52 +0000 |
---|---|---|
committer | maanyagoenka <maanyagoenka@microsoft.com> | 2023-04-05 21:50:04 +0000 |
commit | b60e0f577740af89516f7c74967d7182637f27af (patch) | |
tree | a384a6b2ab9435acc7feb1958948995b9238b2e3 /src/core/namespace.c | |
parent | 7393530f223a48528a045b10575668ed5b0e6a44 (diff) | |
download | systemd-b60e0f577740af89516f7c74967d7182637f27af.tar.gz |
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/core/namespace.c')
-rw-r--r-- | src/core/namespace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/namespace.c b/src/core/namespace.c index 8b141a2484..531970ee15 100644 --- a/src/core/namespace.c +++ b/src/core/namespace.c @@ -1423,7 +1423,7 @@ static int apply_one_mount( if (isempty(host_os_release_id)) return log_debug_errno(SYNTHETIC_ERRNO(EINVAL), "'ID' field not found or empty in 'os-release' data of OS tree '%s': %m", empty_to_root(root_directory)); - r = load_extension_release_pairs(mount_entry_source(m), extension_name, /* relax_extension_release_check= */ false, &extension_release); + r = load_extension_release_pairs(mount_entry_source(m), IMAGE_SYSEXT, extension_name, /* relax_extension_release_check= */ false, &extension_release); if (r == -ENOENT && m->ignore) return 0; if (r < 0) |