[bitbake-devel] [PATCH 1/1] die if a .bbappend file matches no existing .bb recipe

Denys Dmytriyenko denis at denix.org
Wed Jun 29 16:51:39 UTC 2011


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.

-- 
Denys




More information about the bitbake-devel mailing list