The previous message was fairly useless without diving into the bbclass.
Signed-off-by: Chris Laplante <[email protected]>
---
meta/classes/systemd.bbclass | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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() {
if path_found != '':
systemd_add_files_and_parse(pkg_systemd, path_found,
service, keys)
else:
- bb.fatal("SYSTEMD_SERVICE_%s value %s does not exist" %
(pkg_systemd, service))
+ bb.fatal("Didn't find service unit '{0}', specified in
SYSTEMD_SERVICE_{1}. {2}".format(
+ service, pkg_systemd, "Also looked for service unit
'{0}'.".format(base) if base is not None else ""))
def systemd_create_presets(pkg, action):
presetf = oe.path.join(d.getVar("PKGD"), d.getVar("systemd_unitdir"),
"system-preset/98-%s.preset" % pkg)
--
2.30.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#146598):
https://lists.openembedded.org/g/openembedded-core/message/146598
Mute This Topic: https://lists.openembedded.org/mt/79602372/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-