summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/systemd.bbclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbclass
index db7873fbe2..d56c760a17 100644
--- a/meta/classes/systemd.bbclass
+++ b/meta/classes/systemd.bbclass
@@ -165,8 +165,7 @@ python systemd_populate_packages() {
165 if path_found != '': 165 if path_found != '':
166 systemd_add_files_and_parse(pkg_systemd, path_found, service, keys) 166 systemd_add_files_and_parse(pkg_systemd, path_found, service, keys)
167 else: 167 else:
168 raise bb.build.FuncFailed("SYSTEMD_SERVICE_%s value %s does not exist" % \ 168 bb.fatal("SYSTEMD_SERVICE_%s value %s does not exist" % (pkg_systemd, service))
169 (pkg_systemd, service))
170 169
171 # Run all modifications once when creating package 170 # Run all modifications once when creating package
172 if os.path.exists(d.getVar("D", True)): 171 if os.path.exists(d.getVar("D", True)):