]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Move growfs+makefs to src/growfs/
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 10 Nov 2024 13:01:34 +0000 (14:01 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 10 Nov 2024 13:09:46 +0000 (14:09 +0100)
Those two programs are used together and it makes sense to keep them
together. makefs is smaller, so name the directory after growfs.

meson.build
src/growfs/growfs.c [moved from src/partition/growfs.c with 100% similarity]
src/growfs/makefs.c [moved from src/partition/makefs.c with 100% similarity]
src/growfs/meson.build [new file with mode: 0644]
src/partition/meson.build

index f579807945c4309cc7df19357ac119d76b230ca4..32c192965c4501f1b50cb679da5b6588c97a7d61 100644 (file)
@@ -2366,6 +2366,7 @@ subdir('src/fsck')
 subdir('src/fstab-generator')
 subdir('src/getty-generator')
 subdir('src/gpt-auto-generator')
+subdir('src/growfs')
 subdir('src/hibernate-resume')
 subdir('src/home')
 subdir('src/hostname')
similarity index 100%
rename from src/partition/growfs.c
rename to src/growfs/growfs.c
similarity index 100%
rename from src/partition/makefs.c
rename to src/growfs/makefs.c
diff --git a/src/growfs/meson.build b/src/growfs/meson.build
new file mode 100644 (file)
index 0000000..0fcedb1
--- /dev/null
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+executables += [
+        libexec_template + {
+                'name' : 'systemd-growfs',
+                'sources' : files('growfs.c'),
+        },
+        libexec_template + {
+                'name' : 'systemd-makefs',
+                'sources' : files('makefs.c'),
+        },
+]
index 2cfe43e029bc582a02acc2e30e8c44ed05e4c9b4..6920ef7ff0838993c939e88e039b312db2db6c80 100644 (file)
@@ -1,14 +1,6 @@
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
 executables += [
-        libexec_template + {
-                'name' : 'systemd-growfs',
-                'sources' : files('growfs.c'),
-        },
-        libexec_template + {
-                'name' : 'systemd-makefs',
-                'sources' : files('makefs.c'),
-        },
         executable_template + {
                 'name' : 'systemd-repart',
                 'public' : true,