Skip to content

Commit

Permalink
meson: systemd-repart.standalone
Browse files Browse the repository at this point in the history
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 systemd/mkosi#1228.
  • Loading branch information
keszybz authored and d-hatayama committed Feb 15, 2023
1 parent ea7ce6a commit f712291
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit f712291

Please sign in to comment.