From 509276f2b7d44d472b66e79cbfa531c1de4c3801 Mon Sep 17 00:00:00 2001 From: Topi Miettinen Date: Mon, 1 Apr 2019 23:31:47 +0300 Subject: [PATCH] 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. --- meson.build | 2 ++ src/core/meson.build | 2 ++ 2 files changed, 4 insertions(+) diff --git a/meson.build b/meson.build index e446fe7370..b030660195 100644 --- a/meson.build +++ b/meson.build @@ -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') diff --git a/src/core/meson.build b/src/core/meson.build index 86ab35d818..d850e106a3 100644 --- a/src/core/meson.build +++ b/src/core/meson.build @@ -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')))