1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

meson: systemd-repart.standalone

Repart is growing into an important tool on its own, and users might
want to install newer versions on systems that have older systemd. Let's
make this easier by providing a standalone binary.

Related to https://github.com/systemd/mkosi/issues/1228.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2022-10-27 08:31:30 +02:00 committed by Luca Boccassi
parent 04b2541000
commit 3c3e14a7d8

View File

@ -3706,6 +3706,25 @@ if conf.get('ENABLE_REPART') == 1
install : true,
install_dir : rootbindir)
public_programs += exe
if have_standalone_binaries
exe = executable(
'systemd-repart.standalone',
systemd_repart_sources,
include_directories : includes,
c_args : '-DSTANDALONE',
link_with : [libshared_static,
libbasic,
libbasic_gcrypt,
libsystemd_static],
dependencies : [threads,
libblkid,
libfdisk,
libopenssl],
install_rpath : rootpkglibdir,
install : true,
install_dir : rootbindir)
endif
endif
executable(