]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
basic/unit-file: move to shared/
authorMike Yuan <me@yhndnzj.com>
Thu, 19 Sep 2024 11:48:05 +0000 (13:48 +0200)
committerMike Yuan <me@yhndnzj.com>
Sun, 6 Oct 2024 17:27:00 +0000 (19:27 +0200)
Preparation for later commits, where path-lookup would be
moved into libsystemd.

Note that it currently includes sd-id128.h, hence shared/
seems more appropriate anyway.

src/basic/meson.build
src/shared/meson.build
src/shared/unit-file.c [moved from src/basic/unit-file.c with 100% similarity]
src/shared/unit-file.h [moved from src/basic/unit-file.h with 100% similarity]

index 4f83eb67a057250f8e247170611ae30922dc7f9f..9a3361bb077b7ce252b3ef4c3c68c142fda59986 100644 (file)
@@ -106,7 +106,6 @@ basic_sources = files(
         'uid-classification.c',
         'uid-range.c',
         'unit-def.c',
-        'unit-file.c',
         'unit-name.c',
         'user-util.c',
         'utf8.c',
index 8fc39429e5e96f2882270fc2d2c7ee663c8e622d..7b519e9ee81d32120c013bd87b073ce249e01fec 100644 (file)
@@ -170,6 +170,7 @@ shared_sources = files(
         'tpm2-util.c',
         'tpm2-event-log.c',
         'udev-util.c',
+        'unit-file.c',
         'user-record-nss.c',
         'user-record-show.c',
         'user-record.c',
similarity index 100%
rename from src/basic/unit-file.c
rename to src/shared/unit-file.c
similarity index 100%
rename from src/basic/unit-file.h
rename to src/shared/unit-file.h