summaryrefslogtreecommitdiffstats
path: root/src/shared/discover-image.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #25608 from poettering/dissect-moarLennart Poettering2023-04-121-1/+2
|\ | | | | dissect: add dissection policies
| * tree-wide: hook up image dissection policy logic everywhereLennart Poettering2023-04-051-1/+2
| |
* | os-util: add a new confext image type and the ability to parse their release ↵maanyagoenka2023-04-051-11/+1
|/ | | | | | | | | 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.
* lockfile-util: Rename to lock-utilDaan De Meyer2023-03-101-1/+1
|
* discover-image: store image class in Image object too, if knownLennart Poettering2022-12-071-0/+1
|
* discover-image: add stringification helpers for ImageClassLennart Poettering2022-12-071-0/+3
|
* Move os-util.[ch] to basic/Zbigniew Jędrzejewski-Szmek2021-02-221-2/+0
| | | | parse_os_release() will be used basic/hostname-util.c later on.
* machine: parse and store extension-releaseLuca Boccassi2021-02-171-0/+1
| | | | | Follow the same pattern as os-release parsing, and store the key-value pairs in a strv if found
* tree-wide: use -EINVAL for enum invalid valuesZbigniew Jędrzejewski-Szmek2021-02-101-2/+2
| | | | | | | | | 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.
* shared: rename machine-image.[ch] → discover-image.[ch]Lennart Poettering2021-02-031-0/+113
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.