[bitbake-devel] [PATCH v2] bitbake/lib/bb/cookerdata.py: Check if layer conf files exist before parsing them

Christopher Larson clarson at kergoth.com
Wed May 11 20:25:39 UTC 2016


On Wed, May 11, 2016 at 1:01 PM, Humberto Ibarra <
humberto.ibarra.lopez at intel.com> wrote:

> If an invalid layer is added to bblayers.conf, the parsing of said file
> ends with a trace and an "Unable to parse" exception. This is not the
> ideal output, especially considering that we know exactly why this is
> failing.
>
> This patch checks if a layer conf file exists before trying to parse it.
> If it does not, a clear and more concise message is send to the user.
> Otherwise, the parsing continues.
>

This commit message no longer accurately describes the change :)
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20160511/7a9f5a7a/attachment-0002.html>


More information about the bitbake-devel mailing list