os-util: add a new confext image type and the ability to parse their release files
authormaanyagoenka <maanyagoenka@microsoft.com>
Fri, 24 Feb 2023 00:37:52 +0000 (00:37 +0000)
committermaanyagoenka <maanyagoenka@microsoft.com>
Wed, 5 Apr 2023 21:50:04 +0000 (21:50 +0000)
commitb60e0f577740af89516f7c74967d7182637f27af
treea384a6b2ab9435acc7feb1958948995b9238b2e3
parent7393530f223a48528a045b10575668ed5b0e6a44
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.
TODO
src/basic/os-util.c
src/basic/os-util.h
src/core/namespace.c
src/portable/portable.c
src/shared/discover-image.c
src/shared/discover-image.h
src/shared/dissect-image.c
src/sysext/sysext.c