mirror of
https://github.com/systemd/systemd
synced 2024-07-22 18:55:10 +00:00
meson: move declaration of PID1
This commit is contained in:
parent
2080c0978d
commit
6d06af80d0
18
meson.build
18
meson.build
|
@ -2533,24 +2533,6 @@ endforeach
|
|||
|
||||
############################################################
|
||||
|
||||
exe = executable(
|
||||
'systemd',
|
||||
systemd_sources,
|
||||
include_directories : includes,
|
||||
link_with : [libcore,
|
||||
libshared],
|
||||
dependencies : [libseccomp,
|
||||
userspace],
|
||||
install_rpath : pkglibdir,
|
||||
install : true,
|
||||
install_dir : libexecdir)
|
||||
dbus_programs += exe
|
||||
public_programs += exe
|
||||
|
||||
meson.add_install_script(meson_make_symlink,
|
||||
libexecdir / 'systemd',
|
||||
sbindir / 'init')
|
||||
|
||||
exe = executable(
|
||||
'systemd-analyze',
|
||||
systemd_analyze_sources,
|
||||
|
|
|
@ -141,6 +141,20 @@ systemd_sources = files(
|
|||
'crash-handler.c',
|
||||
)
|
||||
|
||||
executables += [
|
||||
libexec_template + {
|
||||
'name' : 'systemd',
|
||||
'dbus' : true,
|
||||
'public' : true,
|
||||
'sources' : systemd_sources,
|
||||
'link_with' : [
|
||||
libcore,
|
||||
libshared,
|
||||
],
|
||||
'dependencies' : libseccomp,
|
||||
},
|
||||
]
|
||||
|
||||
in_files = [['system.conf', pkgsysconfdir],
|
||||
['user.conf', pkgsysconfdir],
|
||||
['org.freedesktop.systemd1.policy', polkitpolicydir]]
|
||||
|
@ -183,6 +197,10 @@ if install_sysconfdir
|
|||
meson.add_install_script('sh', '-c', mkdir_p.format(sysconfdir / 'xdg/systemd'))
|
||||
endif
|
||||
|
||||
meson.add_install_script(meson_make_symlink,
|
||||
libexecdir / 'systemd',
|
||||
sbindir / 'init')
|
||||
|
||||
############################################################
|
||||
|
||||
test_core_base = {
|
||||
|
|
Loading…
Reference in a new issue