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

(From OE-Core rev: 36a2bae816b1abf776d0f1a2b6b2c3d9a861a4ca)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Martin Jansa 2013-02-27 18:46:51 +01:00 committed by Richard Purdie
parent 5b9b0140ce
commit 0ca565d70c
1 changed files with 1 additions and 1 deletions

View File

@ -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