[bitbake-devel] [PATCH 1/1] die if a .bbappend file matches no existing .bb recipe
Martin Jansa
martin.jansa at gmail.com
Mon Jul 18 14:27:00 UTC 2011
On Wed, Jun 29, 2011 at 12:51:39PM -0400, Denys Dmytriyenko wrote:
> On Wed, Jun 29, 2011 at 05:14:57PM +0100, Richard Purdie wrote:
> > On Thu, 2011-06-30 at 00:03 +0800, Cui, Dexuan wrote:
> > > Sorry -- what's the conclusion?
> > > Keeping the v2 patch
> > > (http://git.pokylinux.org/cgit/cgit.cgi/poky-contrib/commit/?h=dcui/bb-v2&id=2a520959f71ec2cd80ed2088bfcf082631161a1a)
> > > , or changing bb.error() to bb.warn()?
> >
> > Where you have:
> >
> > bb.error('No recipes available for:\n%s' % '\n'.join(appendlines))
> >
> > this would become something like:
> >
> > msg = 'No recipes available for:\n%s' % '\n'.join(appendlines)
> > if d.getVar("BB_DANGLINGAPPENDS_WARNONLY", False):
> > bb.warn(msg)
> > else:
> > bb.fatal(msg)
> >
> > which means we can have a strong default but advanced
> > users/distros/whoever can avoid this.
>
> Thanks! That's a nice compromise.
Agreed, looks good to me.
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20110718/42852fb8/attachment-0001.sig>
More information about the bitbake-devel
mailing list