Currently we only handle system unit files. Pulseaudio adds user components so add these to the search paths.
Signed-off-by: Richard Purdie <[email protected]> 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: -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
