summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes-recipe/systemd.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes-recipe/systemd.bbclass b/meta/classes-recipe/systemd.bbclass
index 4b4470b7b3..c167689d2a 100644
--- a/meta/classes-recipe/systemd.bbclass
+++ b/meta/classes-recipe/systemd.bbclass
@@ -147,7 +147,10 @@ python systemd_populate_packages() {
147 147
148 # Check service-files and call systemd_add_files_and_parse for each entry 148 # Check service-files and call systemd_add_files_and_parse for each entry
149 def systemd_check_services(): 149 def systemd_check_services():
150 searchpaths = [oe.path.join(d.getVar("sysconfdir"), "systemd", "system"),] 150 searchpaths = [
151 oe.path.join(d.getVar("sysconfdir"), "systemd", "system"),
152 oe.path.join(d.getVar("sysconfdir"), "systemd", "user"),
153 ]
151 searchpaths.append(d.getVar("systemd_system_unitdir")) 154 searchpaths.append(d.getVar("systemd_system_unitdir"))
152 searchpaths.append(d.getVar("systemd_user_unitdir")) 155 searchpaths.append(d.getVar("systemd_user_unitdir"))
153 systemd_packages = d.getVar('SYSTEMD_PACKAGES') 156 systemd_packages = d.getVar('SYSTEMD_PACKAGES')