summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/systemd.bbclass
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-05-23 08:13:39 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-05-28 09:38:24 +0100
commitf57addd5e1c7352d4d8def55ca3465c64941d6fa (patch)
tree1f8cc494305c07b9d8af11b42c7af5bf7b1e6407 /meta/classes-recipe/systemd.bbclass
parent992659911b46e9b0f93733630c5883e0e60f8dc4 (diff)
downloadpoky-f57addd5e1c7352d4d8def55ca3465c64941d6fa.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: 025a5e4529dff37a6423d305b12b7a51ceedd9e5) 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>
Diffstat (limited to 'meta/classes-recipe/systemd.bbclass')
-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):