]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/firstboot/firstboot.c
os-util: add helpers for finding /etc/os-release
authorLennart Poettering <lennart@poettering.net>
Mon, 26 Mar 2018 14:32:40 +0000 (16:32 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 24 May 2018 15:01:57 +0000 (17:01 +0200)
commitd58ad743f98b3a88de961462fb7adedbf30f727d
tree0978f88d2e97ef6aacd032b0c6540c70906f5207
parent080dfda85a9fc4bd471bc056a570d9eab411efa2
os-util: add helpers for finding /etc/os-release

Place this new helpers in a new source file os-util.[ch], and move the
existing and related call path_is_os_tree() to it as well.
17 files changed:
src/basic/meson.build
src/basic/os-util.c [new file with mode: 0644]
src/basic/os-util.h [new file with mode: 0644]
src/basic/stat-util.c
src/basic/stat-util.h
src/core/dbus-manager.c
src/core/main.c
src/firstboot/firstboot.c
src/hostname/hostnamed.c
src/journal-remote/journal-gatewayd.c
src/machine/machine-dbus.c
src/nspawn/nspawn.c
src/shared/dissect-image.c
src/shared/machine-image.c
src/test/meson.build
src/test/test-os-util.c [new file with mode: 0644]
src/test/test-stat-util.c