[OE-core] bitbake parsing of IMAGE_INSTALL += # tslib mtd-utils" extremely user unfriendly.

Richard Purdie richard.purdie at linuxfoundation.org
Sun Feb 26 13:06:01 UTC 2012


On Mon, 2012-02-20 at 23:00 +0100, Leon Woestenberg wrote:
> bitbake can really braindump on us when we insert typo's.  The result
> of bitbake 1.14 parsing this one wasn't pleasant:
>
> IMAGE_INSTALL += # tslib mtd-utils"
>
> (Yes, it's a typo. No, I wouldn't expect bitbake to give me that much
> output :) )

I agree we need to fix that. I've proposed a patch to bitbake which
would allow detection and a better error message for something like this
by enforcing quoting of variables. It is a major change in bitbake's
behaviour though so I'm taking feedback on whether we should make the
change.

Cheers,

Richard





More information about the Openembedded-core mailing list