mirror of
https://github.com/systemd/systemd.git
synced 2025-01-20 15:33:38 +08:00
pkconfig: export full search path as .pc variable
This commit is contained in:
parent
2e60ecb2f7
commit
607df95be1
@ -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@
|
|||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user