From: Zbigniew Jędrzejewski-Szmek Date: Sun, 10 Nov 2024 13:01:34 +0000 (+0100) Subject: Move growfs+makefs to src/growfs/ X-Git-Tag: v257-rc2~42^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a32e1f88967b3d9d0fd02fd53c7359b08ea3f67c;p=thirdparty%2Fsystemd.git Move growfs+makefs to src/growfs/ Those two programs are used together and it makes sense to keep them together. makefs is smaller, so name the directory after growfs. --- diff --git a/meson.build b/meson.build index f579807945c..32c192965c4 100644 --- a/meson.build +++ b/meson.build @@ -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') diff --git a/src/partition/growfs.c b/src/growfs/growfs.c similarity index 100% rename from src/partition/growfs.c rename to src/growfs/growfs.c diff --git a/src/partition/makefs.c b/src/growfs/makefs.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 index 00000000000..0fcedb19d96 --- /dev/null +++ b/src/growfs/meson.build @@ -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'), + }, +] diff --git a/src/partition/meson.build b/src/partition/meson.build index 2cfe43e029b..6920ef7ff08 100644 --- a/src/partition/meson.build +++ b/src/partition/meson.build @@ -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,