[bitbake-devel] [PATCHv2] bitbake-layers: check layer dependencies before adding
richard.purdie at linuxfoundation.org
Sun Jun 4 14:13:11 UTC 2017
On Mon, 2017-05-29 at 08:44 +0800, Chang Rebecca Swee Fun wrote:
> In the original implementation, "bitbake-layers add-layers <layer>"
> succeeded without error checking. This will further introduce
> failures in recipe parsing only when "bitbake" command is executed.
> Adding a meta layer without its dependency layer(s) should failed
> and exit the process gracefully.
> Added extra argument "-f" to force add a layer without checking
> layer dependency.
> [YOCTO #10913]
> Signed-off-by: Phoong Stanley Cheong Kwan <stanley.cheong.kwan.phoong
> Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang at intel.c
> bin/bitbake-layers | 1 +
> lib/bblayers/action.py | 26 ++++++++++++++++++++++----
> 2 files changed, 23 insertions(+), 4 deletions(-)
This patch seems to result in this:
More information about the bitbake-devel