* [PATCH] systemd: Extend searchpath to include user based unit files
@ 2015-02-17 22:35 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2015-02-17 22:35 UTC (permalink / raw)
To: openembedded-core
Currently we only handle system unit files. Pulseaudio adds user components
so add these to the search paths.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbclass
index c34884b..bb77c24 100644
--- a/meta/classes/systemd.bbclass
+++ b/meta/classes/systemd.bbclass
@@ -138,6 +138,7 @@ python systemd_populate_packages() {
searchpaths = [oe.path.join(d.getVar("sysconfdir", True), "systemd", "system"),]
searchpaths.append(oe.path.join(d.getVar("nonarch_base_libdir", True), "systemd", "system"))
searchpaths.append(oe.path.join(d.getVar("exec_prefix", True), d.getVar("nonarch_base_libdir", True), "systemd", "system"))
+ searchpaths.append(oe.path.join(d.getVar("exec_prefix", True), d.getVar("nonarch_base_libdir", True), "systemd", "user"))
systemd_packages = d.getVar('SYSTEMD_PACKAGES', True)
has_exactly_one_service = len(systemd_packages.split()) == 1
if has_exactly_one_service:
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-02-17 22:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-17 22:35 [PATCH] systemd: Extend searchpath to include user based unit files Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox