Commit 607df95b authored by Lennart Poettering's avatar Lennart Poettering
Browse files

pkconfig: export full search path as .pc variable

parent 2e60ecb2
...@@ -181,6 +181,8 @@ int lookup_paths_init(LookupPaths *p, ManagerRunningAs running_as) { ...@@ -181,6 +181,8 @@ int lookup_paths_init(LookupPaths *p, ManagerRunningAs running_as) {
return -ENOMEM; return -ENOMEM;
} else } else
if (!(p->unit_path = strv_new( if (!(p->unit_path = strv_new(
/* If you modify this you also want to modify
* systemdsystemunitpath= in systemd.pc.in! */
"/dev/.systemd/system", "/dev/.systemd/system",
SYSTEM_CONFIG_UNIT_PATH, SYSTEM_CONFIG_UNIT_PATH,
"/etc/systemd/system", "/etc/systemd/system",
......
...@@ -11,6 +11,7 @@ systemdsystemunitdir=@systemunitdir@ ...@@ -11,6 +11,7 @@ systemdsystemunitdir=@systemunitdir@
systemduserunitdir=@pkgdatadir@/user systemduserunitdir=@pkgdatadir@/user
systemdsystemconfdir=@pkgsysconfdir@/system systemdsystemconfdir=@pkgsysconfdir@/system
systemduserconfdir=@pkgsysconfdir@/user systemduserconfdir=@pkgsysconfdir@/user
systemdsystemunitpath=/dev/.systemd/system:${systemdsystemconfdir}:/etc/systemd/system:/usr/local/share/systemd/system:/usr/share/systemd/system:/lib/systemd/system:${systemdsystemunitdir}
Name: systemd Name: systemd
Description: systemd System and Service Manager Description: systemd System and Service Manager
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment