diff options
Diffstat (limited to 'meta/classes/systemd.bbclass')
-rw-r--r-- | meta/classes/systemd.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbclass index 9ec465c759..db5d109545 100644 --- a/meta/classes/systemd.bbclass +++ b/meta/classes/systemd.bbclass | |||
@@ -174,7 +174,8 @@ python systemd_populate_packages() { | |||
174 | if path_found != '': | 174 | if path_found != '': |
175 | systemd_add_files_and_parse(pkg_systemd, path_found, service, keys) | 175 | systemd_add_files_and_parse(pkg_systemd, path_found, service, keys) |
176 | else: | 176 | else: |
177 | bb.fatal("SYSTEMD_SERVICE_%s value %s does not exist" % (pkg_systemd, service)) | 177 | bb.fatal("Didn't find service unit '{0}', specified in SYSTEMD_SERVICE_{1}. {2}".format( |
178 | service, pkg_systemd, "Also looked for service unit '{0}'.".format(base) if base is not None else "")) | ||
178 | 179 | ||
179 | def systemd_create_presets(pkg, action): | 180 | def systemd_create_presets(pkg, action): |
180 | presetf = oe.path.join(d.getVar("PKGD"), d.getVar("systemd_unitdir"), "system-preset/98-%s.preset" % pkg) | 181 | presetf = oe.path.join(d.getVar("PKGD"), d.getVar("systemd_unitdir"), "system-preset/98-%s.preset" % pkg) |