[oe-commits] Martin Jansa : systemd.bbclass: fix bb.error

git at git.openembedded.org git at git.openembedded.org
Fri Mar 1 13:12:43 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 36a2bae816b1abf776d0f1a2b6b2c3d9a861a4ca
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=36a2bae816b1abf776d0f1a2b6b2c3d9a861a4ca

Author: Martin Jansa <martin.jansa at gmail.com>
Date:   Wed Feb 27 18:46:51 2013 +0100

systemd.bbclass: fix bb.error

NOTE: recipe avahi-ui-0.6.31-r7.0: task do_package: Started
ERROR: %s does not appear in package list, please add it avahi-ui-daemon
ERROR: %s does not appear in package list, please add it avahi-ui-dnsconfd

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/classes/systemd.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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





More information about the Openembedded-commits mailing list