summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-05-23 08:13:39 -0700
committerSteve Sakoman <steve@sakoman.com>2024-07-26 07:43:46 -0700
commitb87b9829aebaaaf7e98a4e12a12709175e08166a (patch)
treea74f74227a2fe22c53fd6dacf39265e0ed80f3be /meta/classes-recipe
parentc673f20743450c26d9a8228b066f27bf1b5e037f (diff)
downloadpoky-b87b9829aebaaaf7e98a4e12a12709175e08166a.tar.gz
systemd.bbclass: Clarify error message
When this error is triggered, its a bit vague in specifying where the issue is e.g. ERROR: nbd-3.26.1-r0 do_package: nbd does not appear in package list, please add it Some packages may intentionally remove PN from packages and find it confusing as to why the system is still asking this to be in PACKAGES (From OE-Core rev: 1ca6b396e2ac7088e4228a1b86fe25c6f7fb7a21) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 025a5e4529dff37a6423d305b12b7a51ceedd9e5) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/classes-recipe')
-rw-r--r--meta/classes-recipe/systemd.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/systemd.bbclass b/meta/classes-recipe/systemd.bbclass
index 48b364c1d4..0f7e3b5a08 100644
--- a/meta/classes-recipe/systemd.bbclass
+++ b/meta/classes-recipe/systemd.bbclass
@@ -85,7 +85,7 @@ python systemd_populate_packages() {
85 def systemd_check_package(pkg_systemd): 85 def systemd_check_package(pkg_systemd):
86 packages = d.getVar('PACKAGES') 86 packages = d.getVar('PACKAGES')
87 if not pkg_systemd in packages.split(): 87 if not pkg_systemd in packages.split():
88 bb.error('%s does not appear in package list, please add it' % pkg_systemd) 88 bb.error('%s is marked for packaging systemd scripts, but it does not appear in package list, please add it to PACKAGES or adjust SYSTEMD_PACKAGES accordingly' % pkg_systemd)
89 89
90 90
91 def systemd_generate_package_scripts(pkg): 91 def systemd_generate_package_scripts(pkg):