| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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.
|