[bitbake-devel] [PATCH] bitbake-layers: fix Python error during parse
Richard Purdie
richard.purdie at linuxfoundation.org
Wed Jan 4 14:15:13 UTC 2012
On Thu, 2011-12-29 at 14:34 +0000, Paul Eggleton wrote:
> If "bitbake-layers show_layers" was run when the cache was dirty forcing
> a parse, it failed with the following error:
>
> ERROR: Failure expanding variable SRCPV, expression was
> ${@bb.fetch2.get_srcrev(d)} which triggered exception AttributeError:
> 'module' object has no attribute 'fetch2'
>
> A simple import of bb.fetch2 in bitbake-layers fixes this.
>
> Fixes [YOCTO #1855].
>
> Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
Merged to master, thanks.
Richard
More information about the bitbake-devel
mailing list