#####################################################################
fs = import('fs')
-if get_option('split-usr') == 'auto'
- split_usr = not fs.is_symlink('/bin')
-else
- split_usr = get_option('split-usr') == 'true'
-endif
-if split_usr
- warning('\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\n\n'
- + ' split-usr mode is going to be removed\n' +
- '\n\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!')
-endif
-conf.set10('HAVE_SPLIT_USR', split_usr,
- description : '/usr/bin and /bin directories are separate')
-
if get_option('split-bin') == 'auto'
split_bin = not fs.is_symlink('/usr/sbin')
else
conf.set10('HAVE_SPLIT_BIN', split_bin,
description : 'bin and sbin directories are separate')
-rootprefixdir = get_option('rootprefix')
-# Unusual rootprefixdir values are used by some distros
-# (see https://github.com/systemd/systemd/pull/7461).
-rootprefix_default = split_usr ? '/' : '/usr'
-if rootprefixdir == ''
- rootprefixdir = rootprefix_default
-endif
-rootprefixdir_noslash = rootprefixdir == '/' ? '' : rootprefixdir
-
have_standalone_binaries = get_option('standalone-binaries')
sysvinit_path = get_option('sysvinit-path')
if not prefixdir.startswith('/')
error('Prefix is not absolute: "@0@"'.format(prefixdir))
endif
-if prefixdir != rootprefixdir and rootprefixdir != '/' and not prefixdir.strip('/').startswith(rootprefixdir.strip('/') + '/')
- error('Prefix is not below root prefix (now rootprefix=@0@ prefix=@1@)'.format(
- rootprefixdir, prefixdir))
-endif
+prefixdir_noslash = '/' + prefixdir.strip('/')
bindir = prefixdir / get_option('bindir')
+sbindir = prefixdir / (split_bin ? 'sbin' : 'bin')
libdir = prefixdir / get_option('libdir')
sysconfdir = prefixdir / get_option('sysconfdir')
includedir = prefixdir / get_option('includedir')
datadir = prefixdir / get_option('datadir')
localstatedir = '/' / get_option('localstatedir')
-rootbindir = rootprefixdir / 'bin'
-rootsbindir = rootprefixdir / (split_bin ? 'sbin' : 'bin')
-rootlibexecdir = rootprefixdir / 'lib/systemd'
-
-rootlibdir = get_option('rootlibdir')
-if rootlibdir == ''
- # This will be a relative path if libdir is in prefix.
- rootlibdir = get_option('libdir')
-endif
-if not rootlibdir.startswith('/')
- # If we have a relative path, add rootprefixdir to the front.
- rootlibdir = rootprefixdir / rootlibdir
-endif
-rootpkglibdir = rootlibdir / 'systemd'
+libexecdir = prefixdir / 'lib/systemd'
+pkglibdir = libdir / 'systemd'
install_sysconfdir = get_option('install-sysconfdir') != 'false'
install_sysconfdir_samples = get_option('install-sysconfdir') == 'true'
if rpmmacrosdir != 'no'
rpmmacrosdir = prefixdir / rpmmacrosdir
endif
-modprobedir = rootprefixdir / 'lib/modprobe.d'
+modprobedir = prefixdir / 'lib/modprobe.d'
# Our own paths
pkgdatadir = datadir / 'systemd'
sysctldir = prefixdir / 'lib/sysctl.d'
binfmtdir = prefixdir / 'lib/binfmt.d'
modulesloaddir = prefixdir / 'lib/modules-load.d'
-networkdir = rootprefixdir / 'lib/systemd/network'
-systemgeneratordir = rootlibexecdir / 'system-generators'
+networkdir = prefixdir / 'lib/systemd/network'
+systemgeneratordir = libexecdir / 'system-generators'
usergeneratordir = prefixdir / 'lib/systemd/user-generators'
systemenvgeneratordir = prefixdir / 'lib/systemd/system-environment-generators'
userenvgeneratordir = prefixdir / 'lib/systemd/user-environment-generators'
-systemshutdowndir = rootlibexecdir / 'system-shutdown'
-systemsleepdir = rootlibexecdir / 'system-sleep'
-systemunitdir = rootprefixdir / 'lib/systemd/system'
-systempresetdir = rootprefixdir / 'lib/systemd/system-preset'
-udevlibexecdir = rootprefixdir / 'lib/udev'
+systemshutdowndir = libexecdir / 'system-shutdown'
+systemsleepdir = libexecdir / 'system-sleep'
+systemunitdir = prefixdir / 'lib/systemd/system'
+systempresetdir = prefixdir / 'lib/systemd/system-preset'
+udevlibexecdir = prefixdir / 'lib/udev'
udevrulesdir = udevlibexecdir / 'rules.d'
udevhwdbdir = udevlibexecdir / 'hwdb.d'
catalogdir = prefixdir / 'lib/systemd/catalog'
systemdstatedir = localstatedir / 'lib/systemd'
catalogstatedir = systemdstatedir / 'catalog'
randomseeddir = localstatedir / 'lib/systemd'
-profiledir = rootlibexecdir / 'portable' / 'profile'
-ntpservicelistdir = rootprefixdir / 'lib/systemd/ntp-units.d'
+profiledir = libexecdir / 'portable' / 'profile'
+ntpservicelistdir = prefixdir / 'lib/systemd/ntp-units.d'
credstoredir = prefixdir / 'lib/credstore'
docdir = get_option('docdir')
pamlibdir = get_option('pamlibdir')
if pamlibdir == ''
- pamlibdir = rootlibdir / 'security'
+ pamlibdir = libdir / 'security'
endif
pamconfdir = get_option('pamconfdir')
libcryptsetup_plugins_dir = get_option('libcryptsetup-plugins-dir')
if libcryptsetup_plugins_dir == ''
- libcryptsetup_plugins_dir = rootlibdir / 'cryptsetup'
+ libcryptsetup_plugins_dir = libdir / 'cryptsetup'
endif
memory_accounting_default = get_option('memory-accounting-default')
status_unit_format_default = conf.get('BUILD_MODE_DEVELOPER') == 1 ? 'name' : 'description'
endif
+conf.set_quoted('BINDIR', bindir)
conf.set_quoted('BINFMT_DIR', binfmtdir)
conf.set_quoted('BOOTLIBDIR', bootlibdir)
conf.set_quoted('CATALOG_DATABASE', catalogstatedir / 'database')
conf.set_quoted('ENVIRONMENT_DIR', environmentdir)
conf.set_quoted('INCLUDE_DIR', includedir)
conf.set_quoted('LIBDIR', libdir)
+conf.set_quoted('LIBEXECDIR', libexecdir)
conf.set_quoted('MODPROBE_DIR', modprobedir)
conf.set_quoted('MODULESLOAD_DIR', modulesloaddir)
conf.set_quoted('PKGSYSCONFDIR', pkgsysconfdir)
conf.set_quoted('POLKIT_AGENT_BINARY_PATH', bindir / 'pkttyagent')
conf.set_quoted('PREFIX', prefixdir)
+conf.set_quoted('PREFIX_NOSLASH', prefixdir_noslash)
conf.set_quoted('RANDOM_SEED', randomseeddir / 'random-seed')
conf.set_quoted('RANDOM_SEED_DIR', randomseeddir)
conf.set_quoted('RC_LOCAL_PATH', get_option('rc-local'))
-conf.set_quoted('ROOTBINDIR', rootbindir)
-conf.set_quoted('ROOTLIBDIR', rootlibdir)
-conf.set_quoted('ROOTLIBEXECDIR', rootlibexecdir)
-conf.set_quoted('ROOTPREFIX', rootprefixdir)
-conf.set_quoted('ROOTPREFIX_NOSLASH', rootprefixdir_noslash)
conf.set_quoted('SYSCONF_DIR', sysconfdir)
conf.set_quoted('SYSCTL_DIR', sysctldir)
-conf.set_quoted('SYSTEMCTL_BINARY_PATH', rootbindir / 'systemctl')
-conf.set_quoted('SYSTEMD_BINARY_PATH', rootlibexecdir / 'systemd')
+conf.set_quoted('SYSTEMCTL_BINARY_PATH', bindir / 'systemctl')
+conf.set_quoted('SYSTEMD_BINARY_PATH', libexecdir / 'systemd')
conf.set_quoted('SYSTEMD_CATALOG_DIR', catalogdir)
-conf.set_quoted('SYSTEMD_CGROUPS_AGENT_PATH', rootlibexecdir / 'systemd-cgroups-agent')
-conf.set_quoted('SYSTEMD_CRYPTSETUP_PATH', rootlibexecdir / 'systemd-cryptsetup')
-conf.set_quoted('SYSTEMD_EXPORT_PATH', rootlibexecdir / 'systemd-export')
-conf.set_quoted('SYSTEMD_FSCK_PATH', rootlibexecdir / 'systemd-fsck')
-conf.set_quoted('SYSTEMD_GROWFS_PATH', rootlibexecdir / 'systemd-growfs')
-conf.set_quoted('SYSTEMD_HOMEWORK_PATH', rootlibexecdir / 'systemd-homework')
-conf.set_quoted('SYSTEMD_IMPORT_FS_PATH', rootlibexecdir / 'systemd-import-fs')
-conf.set_quoted('SYSTEMD_IMPORT_PATH', rootlibexecdir / 'systemd-import')
-conf.set_quoted('SYSTEMD_INTEGRITYSETUP_PATH', rootlibexecdir / 'systemd-integritysetup')
+conf.set_quoted('SYSTEMD_CGROUPS_AGENT_PATH', libexecdir / 'systemd-cgroups-agent')
+conf.set_quoted('SYSTEMD_CRYPTSETUP_PATH', libexecdir / 'systemd-cryptsetup')
+conf.set_quoted('SYSTEMD_EXPORT_PATH', libexecdir / 'systemd-export')
+conf.set_quoted('SYSTEMD_FSCK_PATH', libexecdir / 'systemd-fsck')
+conf.set_quoted('SYSTEMD_GROWFS_PATH', libexecdir / 'systemd-growfs')
+conf.set_quoted('SYSTEMD_HOMEWORK_PATH', libexecdir / 'systemd-homework')
+conf.set_quoted('SYSTEMD_IMPORT_FS_PATH', libexecdir / 'systemd-import-fs')
+conf.set_quoted('SYSTEMD_IMPORT_PATH', libexecdir / 'systemd-import')
+conf.set_quoted('SYSTEMD_INTEGRITYSETUP_PATH', libexecdir / 'systemd-integritysetup')
conf.set_quoted('SYSTEMD_KBD_MODEL_MAP', pkgdatadir / 'kbd-model-map')
conf.set_quoted('SYSTEMD_LANGUAGE_FALLBACK_MAP', pkgdatadir / 'language-fallback-map')
-conf.set_quoted('SYSTEMD_MAKEFS_PATH', rootlibexecdir / 'systemd-makefs')
-conf.set_quoted('SYSTEMD_PULL_PATH', rootlibexecdir / 'systemd-pull')
-conf.set_quoted('SYSTEMD_SHUTDOWN_BINARY_PATH', rootlibexecdir / 'systemd-shutdown')
+conf.set_quoted('SYSTEMD_MAKEFS_PATH', libexecdir / 'systemd-makefs')
+conf.set_quoted('SYSTEMD_PULL_PATH', libexecdir / 'systemd-pull')
+conf.set_quoted('SYSTEMD_SHUTDOWN_BINARY_PATH', libexecdir / 'systemd-shutdown')
conf.set_quoted('SYSTEMD_TEST_DATA', testdata_dir)
-conf.set_quoted('SYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH', rootbindir / 'systemd-tty-ask-password-agent')
-conf.set_quoted('SYSTEMD_UPDATE_HELPER_PATH', rootlibexecdir / 'systemd-update-helper')
-conf.set_quoted('SYSTEMD_USERWORK_PATH', rootlibexecdir / 'systemd-userwork')
-conf.set_quoted('SYSTEMD_VERITYSETUP_PATH', rootlibexecdir / 'systemd-veritysetup')
+conf.set_quoted('SYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH', bindir / 'systemd-tty-ask-password-agent')
+conf.set_quoted('SYSTEMD_UPDATE_HELPER_PATH', libexecdir / 'systemd-update-helper')
+conf.set_quoted('SYSTEMD_USERWORK_PATH', libexecdir / 'systemd-userwork')
+conf.set_quoted('SYSTEMD_VERITYSETUP_PATH', libexecdir / 'systemd-veritysetup')
conf.set_quoted('SYSTEM_CONFIG_UNIT_DIR', pkgsysconfdir / 'system')
conf.set_quoted('SYSTEM_DATA_UNIT_DIR', systemunitdir)
conf.set_quoted('SYSTEM_ENV_GENERATOR_DIR', systemenvgeneratordir)
conf.set_quoted('USER_GENERATOR_DIR', usergeneratordir)
conf.set_quoted('USER_KEYRING_PATH', pkgsysconfdir / 'import-pubring.gpg')
conf.set_quoted('USER_PRESET_DIR', userpresetdir)
-conf.set_quoted('VENDOR_KEYRING_PATH', rootlibexecdir / 'import-pubring.gpg')
+conf.set_quoted('VENDOR_KEYRING_PATH', libexecdir / 'import-pubring.gpg')
conf.set('ANSI_OK_COLOR', 'ANSI_' + get_option('ok-color').underscorify().to_upper())
conf.set10('ENABLE_URLIFY', get_option('urlify'))
link_depends : libsystemd_sym,
install : true,
install_tag: 'libsystemd',
- install_dir : rootlibdir)
+ install_dir : libdir)
alias_target('libsystemd', libsystemd)
build_by_default : static_libsystemd != 'false',
install : static_libsystemd != 'false',
install_tag: 'libsystemd',
- install_dir : rootlibdir,
+ install_dir : libdir,
pic : static_libsystemd_pic,
dependencies : [libblkid,
libcap,
link_depends : libudev_sym,
install : true,
install_tag: 'libudev',
- install_dir : rootlibdir)
+ install_dir : libdir)
alias_target('libudev', libudev)
build_by_default : static_libudev != 'false',
install : static_libudev != 'false',
install_tag: 'libudev',
- install_dir : rootlibdir,
+ install_dir : libdir,
link_depends : libudev_sym,
dependencies : [libmount,
libshared_deps,
userspace,
versiondep],
link_depends : cryptsetup_token_sym,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
install_dir : libcryptsetup_plugins_dir)
endif
userspace,
versiondep],
link_depends : cryptsetup_token_sym,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
install_dir : libcryptsetup_plugins_dir)
endif
userspace,
versiondep],
link_depends : cryptsetup_token_sym,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
install_dir : libcryptsetup_plugins_dir)
endif
link_depends : sym,
install : true,
install_tag : 'nss',
- install_dir : rootlibdir)
+ install_dir : libdir)
# We cannot use shared_module because it does not support version suffix.
# Unfortunately shared_library insists on creating the symlink…
meson.add_install_script('sh', '-c',
'rm $DESTDIR@0@/libnss_@1@.so'
- .format(rootlibdir, module),
+ .format(libdir, module),
install_tag : 'nss'
)
dependencies : [libseccomp,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
dbus_programs += exe
public_programs += exe
meson.add_install_script(meson_make_symlink,
- rootlibexecdir / 'systemd',
- rootsbindir / 'init')
+ libexecdir / 'systemd',
+ sbindir / 'init')
exe = executable(
'systemd-analyze',
dependencies : [libseccomp,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : conf.get('ENABLE_ANALYZE') == 1)
if conf.get('ENABLE_ANALYZE') == 1
public_programs += exe
threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
public_programs += executable(
'systemd-cat',
dependencies : [threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true)
if get_option('link-journalctl-shared')
threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
- install : true,
- install_dir : rootbindir)
+ install_rpath : pkglibdir,
+ install : true)
executable(
'systemd-getty-generator',
include_directories : includes,
link_with : [libshared],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
install_dir : systemgeneratordir)
include_directories : includes,
link_with : [libshared],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
install_dir : systemgeneratordir)
include_directories : includes,
link_with : [libshared],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
install_dir : systemgeneratordir)
include_directories : includes,
link_with : [libshared],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
install_dir : systemgeneratordir)
meson.add_install_script(meson_make_symlink,
systemgeneratordir / 'systemd-fstab-generator',
- rootlibexecdir / 'systemd-sysroot-fstab-check')
+ libexecdir / 'systemd-sysroot-fstab-check')
if want_tests != 'false'
test('test-fstab-generator',
include_directories : includes,
link_with : [libshared],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
install_dir : userenvgeneratordir)
include_directories : includes,
link_with : [libshared],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
install_dir : systemgeneratordir)
include_directories : includes,
link_with : [libshared],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
endif
if conf.get('HAVE_BLKID') == 1
link_with : [libshared],
dependencies : [libblkid,
userspace],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
install_dir : systemgeneratordir)
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true)
meson.add_install_script(meson_make_symlink,
bindir / 'systemd-dissect',
- rootsbindir / 'mount.ddi')
+ sbindir / 'mount.ddi')
endif
if conf.get('ENABLE_RESOLVE') == 1
libsystemd_resolve_core],
dependencies : [systemd_resolved_dependencies,
userspace],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
public_programs += executable(
'resolvectl',
threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true)
meson.add_install_script(meson_make_symlink,
bindir / 'resolvectl',
- rootsbindir / 'resolvconf')
+ sbindir / 'resolvconf')
meson.add_install_script(meson_make_symlink,
bindir / 'resolvectl',
threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
public_programs += executable(
'loginctl',
threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
- install : true,
- install_dir : rootbindir)
+ install_rpath : pkglibdir,
+ install : true)
public_programs += executable(
'systemd-inhibit',
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
- install : true,
- install_dir : rootbindir)
+ install_rpath : pkglibdir,
+ install : true)
if conf.get('HAVE_PAM') == 1
version_script_arg = project_source_root / pam_systemd_sym
include_directories : includes,
link_with : [libshared],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
endif
if conf.get('HAVE_PAM') == 1
include_directories : includes,
link_with : [libshared],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
endif
if conf.get('HAVE_BLKID') == 1 and conf.get('ENABLE_BOOTLOADER') == 1
dependencies : [libblkid,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true)
public_programs += exe
dependencies : [libblkid,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
executable(
'systemd-bless-boot-generator',
include_directories : includes,
link_with : [boot_link_with],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
install_dir : systemgeneratordir)
dependencies : [libopenssl,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
executable(
'systemd-pcrphase',
'src/boot/pcrphase.c',
tpm2,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
endif
endif
dependencies : [libblkid,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
public_programs += executable(
'systemd-socket-activate',
dependencies : [threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true)
systemctl = executable(
threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
- install : true,
- install_dir : rootbindir)
+ install_rpath : pkglibdir,
+ install : true)
public_programs += systemctl
if conf.get('ENABLE_PORTABLED') == 1
threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
public_programs += executable(
'portablectl',
dependencies : [threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
- install : true,
- install_dir : rootbindir)
+ install_rpath : pkglibdir,
+ install : true)
endif
if conf.get('ENABLE_SYSEXT') == 1
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
- install : true,
- install_dir : rootbindir)
+ install_rpath : pkglibdir,
+ install : true)
endif
if conf.get('ENABLE_USERDB') == 1
dependencies : [threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
executable(
'systemd-userdbd',
dependencies : [threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
public_programs += executable(
'userdbctl',
dependencies : [threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true)
endif
threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
dbus_programs += executable(
'systemd-homed',
threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
public_programs += executable(
'homectl',
threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true)
if conf.get('HAVE_PAM') == 1
foreach alias : (['halt', 'poweroff', 'reboot', 'shutdown'] +
(conf.get('HAVE_SYSV_COMPAT') == 1 ? ['runlevel', 'telinit'] : []))
meson.add_install_script(meson_make_symlink,
- rootbindir / 'systemctl',
- rootsbindir / alias)
+ bindir / 'systemctl',
+ sbindir / alias)
endforeach
meson.add_install_script(meson_make_symlink,
- rootbindir / 'udevadm',
- rootlibexecdir / 'systemd-udevd')
+ bindir / 'udevadm',
+ libexecdir / 'systemd-udevd')
if conf.get('ENABLE_BACKLIGHT') == 1
executable(
include_directories : includes,
link_with : [libshared],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
endif
if conf.get('ENABLE_RFKILL') == 1
include_directories : includes,
link_with : [libshared],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
endif
executable(
include_directories : includes,
link_with : [libshared],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
install_dir : systemgeneratordir)
libp11kit,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
executable(
'systemd-cryptsetup-generator',
include_directories : includes,
link_with : [libshared],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
install_dir : systemgeneratordir)
dependencies : [libcryptsetup,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
executable(
'systemd-veritysetup-generator',
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
install_dir : systemgeneratordir)
libp11kit,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true)
executable(
dependencies : [libcryptsetup,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
executable(
'systemd-integritysetup-generator',
include_directories : includes,
link_with : [libshared],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
install_dir : systemgeneratordir)
endif
include_directories : includes,
link_with : [libshared],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
install_dir : systemgeneratordir)
include_directories : includes,
link_with : [libshared],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
install_dir : systemgeneratordir)
endif
include_directories : includes,
link_with : [libshared],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
install_dir : usergeneratordir)
include_directories : includes,
link_with : [libshared],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
endif
if conf.get('ENABLE_HOSTNAMED') == 1
include_directories : includes,
link_with : [libshared],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
public_programs += executable(
'hostnamectl',
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true)
endif
dependencies : libxkbcommon_deps +
[userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
public_programs += executable(
'localectl',
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true)
endif
include_directories : includes,
link_with : [libshared],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
endif
if conf.get('ENABLE_TIMEDATECTL') == 1
'timedatectl',
'src/timedate/timedatectl.c',
include_directories : includes,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
link_with : [libshared],
dependencies : [libm,
userspace,
threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
executable(
'systemd-time-wait-sync',
include_directories : includes,
link_with : [libtimesyncd_core],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
endif
if conf.get('ENABLE_MACHINED') == 1
link_with : [libmachine_core,
libshared],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
public_programs += executable(
'machinectl',
threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
- install : true,
- install_dir : rootbindir)
+ install_rpath : pkglibdir,
+ install : true)
endif
if conf.get('ENABLE_IMPORTD') == 1
dependencies : [threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
systemd_pull = executable(
'systemd-pull',
libz,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
systemd_import = executable(
'systemd-import',
libz,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
systemd_import_fs = executable(
'systemd-import-fs',
lib_import_common],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
systemd_export = executable(
'systemd-export',
libz,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
public_programs += [systemd_pull, systemd_import, systemd_import_fs, systemd_export]
endif
threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
endif
if conf.get('ENABLE_REMOTE') == 1 and conf.get('HAVE_MICROHTTPD') == 1
threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
public_programs += executable(
'systemd-journal-gatewayd',
threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
endif
if conf.get('ENABLE_COREDUMP') == 1
threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
public_programs += executable(
'coredumpctl',
threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true)
endif
threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
endif
if conf.get('ENABLE_OOMD') == 1
dependencies : [libatomic,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
public_programs += executable(
'oomctl',
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true)
endif
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
meson.add_install_script('sh', '-c',
mkdir_p.format(binfmtdir))
threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
public_programs += exe
endif
include_directories : includes,
link_with : [libshared],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
endif
if conf.get('ENABLE_RANDOMSEED') == 1
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
endif
if conf.get('ENABLE_FIRSTBOOT') == 1
dependencies : [libcrypt,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
- install : true,
- install_dir : rootbindir)
+ install_rpath : pkglibdir,
+ install : true)
endif
executable(
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
executable(
'systemd-machine-id-setup',
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
- install : true,
- install_dir : rootbindir)
+ install_rpath : pkglibdir,
+ install : true)
executable(
'systemd-fsck',
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
executable(
'systemd-growfs',
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
executable(
'systemd-makefs',
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
executable(
'systemd-sleep',
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
if install_sysconfdir_samples
install_data('src/sleep/sleep.conf',
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
public_programs += executable(
'systemd-ac-power',
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true)
public_programs += executable(
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true)
public_programs += executable(
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true)
public_programs += executable(
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
- install : true,
- install_dir : rootbindir)
+ install_rpath : pkglibdir,
+ install : true)
public_programs += executable(
'systemd-notify',
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
- install : true,
- install_dir : rootbindir)
+ install_rpath : pkglibdir,
+ install : true)
public_programs += executable(
'systemd-creds',
libopenssl,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
- install : true,
- install_dir : rootbindir)
+ install_rpath : pkglibdir,
+ install : true)
public_programs += executable(
'systemd-battery-check',
include_directories : includes,
link_with : [libshared],
dependencies : [userspace, versiondep],
- install_rpath : rootpkglibdir,
- install_dir : rootlibexecdir,
+ install_rpath : pkglibdir,
+ install_dir : libexecdir,
install : true)
# Protecting files from the distro in /usr doesn't make sense since they can be trivially accessed otherwise,
include_directories : includes,
link_with : [libshared],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : conf.get('ENABLE_INITRD') == 1,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
executable(
'systemd-cgroups-agent',
include_directories : includes,
link_with : [libshared],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
systemd_id128 = executable(
'systemd-id128',
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true)
public_programs += systemd_id128
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true)
public_programs += executable(
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
- install : true,
- install_dir : rootbindir)
+ install_rpath : pkglibdir,
+ install : true)
executable(
'systemd-reply-password',
include_directories : includes,
link_with : [libshared],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
public_programs += executable(
'systemd-tty-ask-password-agent',
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
- install : true,
- install_dir : rootbindir)
+ install_rpath : pkglibdir,
+ install : true)
public_programs += executable(
'systemd-cgls',
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true)
public_programs += executable(
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true)
executable(
include_directories : includes,
link_with : [libshared],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : (conf.get('HAVE_SYSV_COMPAT') == 1),
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
public_programs += executable(
'systemd-mount',
dependencies: [libmount,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true)
meson.add_install_script(meson_make_symlink,
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true)
public_programs += executable(
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true)
public_programs += executable(
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true)
if enable_sysusers
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
- install : true,
- install_dir : rootbindir)
+ install_rpath : pkglibdir,
+ install : true)
public_programs += exe
if want_tests != 'false'
dependencies : [userspace,
versiondep],
build_by_default: have_standalone_binaries,
- install : have_standalone_binaries,
- install_dir : rootbindir)
+ install : have_standalone_binaries)
if have_standalone_binaries
public_programs += exe
dependencies : [libacl,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
- install : true,
- install_dir : rootbindir)
+ install_rpath : pkglibdir,
+ install : true)
public_programs += exe
if want_tests != 'false'
userspace,
versiondep],
build_by_default: have_standalone_binaries,
- install : have_standalone_binaries,
- install_dir : rootbindir)
+ install : have_standalone_binaries)
if have_standalone_binaries
public_programs += exe
dependencies : [userspace,
versiondep],
install_rpath : udev_rpath,
- install : true,
- install_dir : rootbindir)
+ install : true)
public_programs += systemd_hwdb
if want_tests != 'false'
include_directories : includes,
link_with : [libshared],
dependencies : userspace,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
endif
public_programs += executable(
dependencies : [threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
udevadm = executable(
'udevadm',
userspace,
versiondep],
install_rpath : udev_rpath,
- install : true,
- install_dir : rootbindir)
+ install : true)
public_programs += udevadm
if want_tests != 'false'
threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
- install : true,
- install_dir : rootbindir)
+ install_rpath : pkglibdir,
+ install : true)
public_programs += exe
exe = executable(
userspace,
versiondep],
build_by_default: have_standalone_binaries,
- install_rpath : rootpkglibdir,
- install : have_standalone_binaries,
- install_dir : rootbindir)
+ install_rpath : pkglibdir,
+ install : have_standalone_binaries)
if have_standalone_binaries
public_programs += exe
endif
dependencies : [libmount,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
executable(
'systemd-shutdown.standalone',
userspace,
versiondep],
build_by_default: have_standalone_binaries,
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : have_standalone_binaries,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
executable(
'systemd-update-done',
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
executable(
'systemd-update-utmp',
dependencies : [libaudit,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : (conf.get('ENABLE_UTMP') == 1),
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
if conf.get('HAVE_KMOD') == 1
executable(
dependencies : [libkmod,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
meson.add_install_script('sh', '-c',
mkdir_p.format(modulesloaddir))
libseccomp,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true)
if conf.get('ENABLE_NETWORKD') == 1
dependencies : [threads,
userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
public_programs += executable(
'systemd-networkd-wait-online',
link_with : [networkd_link_with],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
public_programs += executable(
'networkctl',
networkd_link_with],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
- install : true,
- install_dir : rootbindir)
+ install_rpath : pkglibdir,
+ install : true)
endif
exe = executable(
link_with : [networkd_link_with],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
if want_tests != 'false'
test('test-network-generator-conversion',
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : true,
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
kernel_install = executable(
'kernel-install',
link_with : [libshared],
dependencies : [userspace,
versiondep],
- install_rpath : rootpkglibdir,
- install : want_kernel_install,
- install_dir : bindir)
+ install_rpath : pkglibdir,
+ install : want_kernel_install)
public_programs += kernel_install
ukify = custom_target(
command : [jinja2_cmdline, '@INPUT@', '@OUTPUT@'],
install : want_ukify,
install_mode : 'rwxr-xr-x',
- install_dir : rootlibexecdir)
+ install_dir : libexecdir)
if want_ukify
public_programs += ukify
endif
dependencies : deps,
c_args : [test_cflags, test.get('c_args', [])],
build_by_default : want_tests != 'false',
- install_rpath : rootpkglibdir,
+ install_rpath : pkglibdir,
install : install_tests,
install_dir : unittestsdir / type,
link_depends : runtest_env)
check : true).stdout().strip()
summary({
- 'split /usr' : split_usr,
'split bin-sbin' : split_bin,
'prefix directory' : prefixdir,
- 'rootprefix directory' : rootprefixdir,
'sysconf directory' : sysconfdir,
'include directory' : includedir,
'lib directory' : libdir,
- 'rootlib directory' : rootlibdir,
'SysV init scripts' : sysvinit_path,
'SysV rc?.d directories' : sysvrcnd_path,
'PAM modules directory' : pamlibdir,
'enabled' : ', '.join(found),
'disabled' : ', '.join(missing)},
section : 'Features')
-
-if rootprefixdir != rootprefix_default
- warning('\n' +
- 'Note that the installation prefix was changed to "@0@".\n'.format(rootprefixdir) +
- 'systemd used fixed names for unit file directories and other paths, so anything\n' +
- 'except the default ("@0@") is strongly discouraged.'.format(rootprefix_default))
-endif