[yocto] [PATCH] meta: Fix error print
Jukka Rissanen
jukka.rissanen at linux.intel.com
Wed Feb 20 03:15:10 PST 2013
Instead of printing
ERROR: %s does not appear in package list, please add it package-systemd
print
ERROR: package-systemd does not appear in package list, please add it
instead.
Signed-off-by: Jukka Rissanen <jukka.rissanen at linux.intel.com>
---
meta/classes/systemd.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbclass
index 00865ed..564cd72 100644
--- a/meta/classes/systemd.bbclass
+++ b/meta/classes/systemd.bbclass
@@ -53,7 +53,7 @@ python systemd_populate_packages() {
def systemd_check_package(pkg_systemd):
packages = d.getVar('PACKAGES', True)
if not pkg_systemd in packages.split():
- bb.error('%s does not appear in package list, please add it', " " + pkg_systemd)
+ bb.error('%s does not appear in package list, please add it' % pkg_systemd)
# Add a runtime dependency on systemd to pkg
--
1.7.11.4
More information about the yocto
mailing list