| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
dissect: add dissection policies
|
| | |
|
|/
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
parse_os_release() will be used basic/hostname-util.c later on.
|
|
|
|
|
| |
Follow the same pattern as os-release parsing, and store the key-value
pairs in a strv if found
|
|
|
|
|
|
|
|
|
| |
As suggested in https://github.com/systemd/systemd/pull/11484#issuecomment-775288617.
This does not touch anything exposed in src/systemd. Changing the defines there
would be a compatibility break.
Note that tests are broken after this commit. They will be fixed in the next one.
|
|
The old name originates when this was used to discover "machine" images,
as managed by machined/machinectl. But nowadays this is also used by
portable services and system extensions, hence let's use a more generic
name for this API. Taking inspiration from "dissect-image.[ch]", let's call
this "discover-image.[ch]".
This is pure renaming, no other changes.
|