mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 12:13:33 +08:00
build: install /etc/systemd/{system,user}-generators
Manual page systemd.generators refers to /etc/systemd/{system,user}-generators, but the paths do not exist, so let's install them.
This commit is contained in:
parent
3f8f021541
commit
509276f2b7
@ -133,6 +133,8 @@ networkdir = join_paths(rootprefixdir, 'lib/systemd/network')
|
||||
pkgincludedir = join_paths(includedir, 'systemd')
|
||||
systemgeneratordir = join_paths(rootlibexecdir, 'system-generators')
|
||||
usergeneratordir = join_paths(prefixdir, 'lib/systemd/user-generators')
|
||||
pkgsysconfsystemgeneratordir = join_paths(pkgsysconfdir, 'system-generators')
|
||||
pkgsysconfusergeneratordir = join_paths(pkgsysconfdir, 'user-generators')
|
||||
systemenvgeneratordir = join_paths(prefixdir, 'lib/systemd/system-environment-generators')
|
||||
userenvgeneratordir = join_paths(prefixdir, 'lib/systemd/user-environment-generators')
|
||||
systemshutdowndir = join_paths(rootlibexecdir, 'system-shutdown')
|
||||
|
@ -211,6 +211,8 @@ meson.add_install_script('sh', '-c', mkdir_p.format(systemshutdowndir))
|
||||
meson.add_install_script('sh', '-c', mkdir_p.format(systemsleepdir))
|
||||
meson.add_install_script('sh', '-c', mkdir_p.format(systemgeneratordir))
|
||||
meson.add_install_script('sh', '-c', mkdir_p.format(usergeneratordir))
|
||||
meson.add_install_script('sh', '-c', mkdir_p.format(pkgsysconfsystemgeneratordir))
|
||||
meson.add_install_script('sh', '-c', mkdir_p.format(pkgsysconfusergeneratordir))
|
||||
|
||||
meson.add_install_script('sh', '-c',
|
||||
mkdir_p.format(join_paths(pkgsysconfdir, 'system/multi-user.target.wants')))
|
||||
|
Loading…
Reference in New Issue
Block a user