summaryrefslogtreecommitdiffstats
path: root/src/shared/discover-image.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.