Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] systemd.bbclass: fix bb.error
@ 2013-02-27 17:46 Martin Jansa
  2013-02-27 21:47 ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2013-02-27 17:46 UTC (permalink / raw)
  To: openembedded-core

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@gmail.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.8.1.4




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] systemd.bbclass: fix bb.error
  2013-02-27 17:46 [PATCH] systemd.bbclass: fix bb.error Martin Jansa
@ 2013-02-27 21:47 ` Khem Raj
  2013-03-01  9:24   ` Martin Jansa
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2013-02-27 21:47 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-core

On Wed, Feb 27, 2013 at 9:46 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> 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
>

IIRC there already is a patch floating around on ml which fixes it.

> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.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.8.1.4
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] systemd.bbclass: fix bb.error
  2013-02-27 21:47 ` Khem Raj
@ 2013-03-01  9:24   ` Martin Jansa
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Jansa @ 2013-03-01  9:24 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1884 bytes --]

On Wed, Feb 27, 2013 at 01:47:00PM -0800, Khem Raj wrote:
> On Wed, Feb 27, 2013 at 9:46 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> > 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
> >
> 
> IIRC there already is a patch floating around on ml which fixes it.

I was thinking the same, but then I wasn't able to find it in my ML
archive, so I created this one (expecting that what I've seen on ML
before was something else).

FWIW: neither fix was included in "[CONSOLIDATED PULL 00/40] Post-ELC
Patches and Updates" so Saul probably haven't seen it too.

> > Signed-off-by: Martin Jansa <Martin.Jansa@gmail.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.8.1.4
> >
> >
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-01  9:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-27 17:46 [PATCH] systemd.bbclass: fix bb.error Martin Jansa
2013-02-27 21:47 ` Khem Raj
2013-03-01  9:24   ` Martin Jansa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox