]>
Commit | Line | Data |
---|---|---|
db9ecf05 | 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
e594a3b1 | 2 | |
0d6b90b9 YW |
3 | executables += [ |
4 | libexec_template + { | |
5 | 'name' : 'systemd-growfs', | |
6 | 'sources' : files('growfs.c'), | |
7 | }, | |
8 | libexec_template + { | |
9 | 'name' : 'systemd-makefs', | |
10 | 'sources' : files('makefs.c'), | |
11 | }, | |
12 | executable_template + { | |
13 | 'name' : 'systemd-repart', | |
14 | 'public' : true, | |
15 | 'conditions' : ['ENABLE_REPART'], | |
16 | 'sources' : files('repart.c'), | |
17 | 'link_with' : [ | |
18 | libshared, | |
19 | libshared_fdisk, | |
20 | ], | |
21 | 'dependencies' : [ | |
22 | libblkid, | |
23 | libfdisk, | |
24 | libopenssl, | |
25 | threads, | |
26 | ], | |
27 | }, | |
28 | executable_template + { | |
29 | 'name' : 'systemd-repart.standalone', | |
30 | 'public' : have_standalone_binaries, | |
31 | 'conditions' : ['ENABLE_REPART'], | |
32 | 'sources' : files('repart.c'), | |
33 | 'c_args' : '-DSTANDALONE', | |
34 | 'link_with' : [ | |
35 | libbasic, | |
0d6b90b9 YW |
36 | libshared_fdisk, |
37 | libshared_static, | |
38 | libsystemd_static, | |
39 | ], | |
40 | 'dependencies' : [ | |
41 | libblkid, | |
42 | libfdisk, | |
43 | libopenssl, | |
44 | threads, | |
45 | ], | |
46 | 'build_by_default' : have_standalone_binaries, | |
47 | 'install' : have_standalone_binaries, | |
48 | }, | |
49 | ] | |
a121b331 LP |
50 | |
51 | if conf.get('ENABLE_REPART') == 1 | |
52 | install_data('definitions/confext.repart.d/10-root.conf', install_dir : repartdefinitionsdir / 'confext.repart.d') | |
53 | install_data('definitions/confext.repart.d/20-root-verity.conf', install_dir : repartdefinitionsdir / 'confext.repart.d') | |
54 | install_data('definitions/confext.repart.d/30-root-verity-sig.conf', install_dir : repartdefinitionsdir / 'confext.repart.d') | |
55 | install_data('definitions/portable.repart.d/10-root.conf', install_dir : repartdefinitionsdir / 'portable.repart.d') | |
56 | install_data('definitions/portable.repart.d/20-root-verity.conf', install_dir : repartdefinitionsdir / 'portable.repart.d') | |
57 | install_data('definitions/portable.repart.d/30-root-verity-sig.conf', install_dir : repartdefinitionsdir / 'portable.repart.d') | |
58 | install_data('definitions/sysext.repart.d/10-root.conf', install_dir : repartdefinitionsdir / 'sysext.repart.d') | |
59 | install_data('definitions/sysext.repart.d/20-root-verity.conf', install_dir : repartdefinitionsdir / 'sysext.repart.d') | |
60 | install_data('definitions/sysext.repart.d/30-root-verity-sig.conf', install_dir : repartdefinitionsdir / 'sysext.repart.d') | |
61 | endif |