[bitbake-devel] [PATCH 1/1] die if a .bbappend file matches no existing .bb recipe
Richard Purdie
richard.purdie at linuxfoundation.org
Wed Jun 29 16:14:57 UTC 2011
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.
Cheers,
Richard
More information about the bitbake-devel
mailing list