[OE-core] [PATCH 1/6] scripts/bitbake: ensure user is in build directory

Chris Larson clarson at kergoth.com
Mon Apr 2 20:32:15 UTC 2012


On Mon, Apr 2, 2012 at 1:12 PM, Paul Eggleton
<paul.eggleton at linux.intel.com> wrote:
> On Monday 02 April 2012 13:00:15 Khem Raj wrote:
>> On (14/03/12 00:36), Paul Eggleton wrote:
>> > If the user is in any directory other than $BUILDDIR when the bitbake
>> > wrapper script is run, then show an error an exit.
>> >
>> > Fixes [YOCTO #2071].
>>
>> angstrom e.g. does not have this restriction but uses script/bitbake
>> so this fix seems to be wrong here since its specific to OE-Core's
>> default build env.
>
> This has been implemented differently now:
>
> http://cgit.openembedded.org/openembedded-core/commit/?id=769384decb095fb3c49eb13b8f7f69c978d0bcba

This'll break the ability to run bitbake from subdirs underneath
BUILDDIR, which is perfectly valid, and supported by bitbake's code
which traverses up the current working path to find
conf/bblayers.conf.
-- 
Christopher Larson




More information about the Openembedded-core mailing list