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

2012-04-02 Thread Paul Eggleton
On Monday 02 April 2012 13:32:15 Chris Larson wrote: > On Mon, Apr 2, 2012 at 1:12 PM, Paul Eggleton > wrote: > > This has been implemented differently now: > > > > http://cgit.openembedded.org/openembedded-core/commit/?id=769384decb095fb3 > > c49eb13b8f7f69c978d0bcba > This'll break the ability

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

2012-04-02 Thread Chris Larson
On Mon, Apr 2, 2012 at 1:12 PM, Paul Eggleton 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 [Y

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

2012-04-02 Thread Paul Eggleton
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 restricti

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

2012-04-02 Thread Khem Raj
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

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

2012-03-18 Thread Andreas Oberritter
On 16.03.2012 11:56, Paul Eggleton wrote: > On Friday 16 March 2012 01:20:44 Andreas Oberritter wrote: >> Sorry, I messed up some details. In fact, pseudo-native doesn't get >> rebuilt, but bitbake pseudo-native still gets executed for every >> machine, unless $BUILDDIR/pseudodone is present and co

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

2012-03-16 Thread Paul Eggleton
Hi Vijay, On Friday 16 March 2012 17:25:33 VIJAY KUMAR wrote: >Iam not specialist in this. I am just following the steps mentioned here > > http://icedtea.classpath.org/wiki/CrossCompileOECoreTutorial > > I am building from this path vj@ubuntu:/host/coreembedded/oe-core/build$ > and it

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

2012-03-16 Thread VIJAY KUMAR
Hi paul, Iam not specialist in this. I am just following the steps mentioned here http://icedtea.classpath.org/wiki/CrossCompileOECoreTutorial I am building from this path vj@ubuntu:/host/coreembedded/oe-core/build$ and it contains pseudodone file. and in vj@ubuntu:/host/coreembedded/o

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

2012-03-16 Thread Paul Eggleton
On Friday 16 March 2012 01:20:44 Andreas Oberritter wrote: > Sorry, I messed up some details. In fact, pseudo-native doesn't get > rebuilt, but bitbake pseudo-native still gets executed for every > machine, unless $BUILDDIR/pseudodone is present and contains > PSEUDOBINDIR. This just wastes time an

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

2012-03-15 Thread Andreas Oberritter
On 16.03.2012 00:09, Paul Eggleton wrote: > On Thursday 15 March 2012 01:30:31 Andreas Oberritter wrote: >> On 14.03.2012 01: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. >> >> this patch bro

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

2012-03-15 Thread Paul Eggleton
On Thursday 15 March 2012 01:30:31 Andreas Oberritter wrote: > On 14.03.2012 01: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. > > this patch broke my setup. Ah, sorry about that. > My $BU

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

2012-03-14 Thread Andreas Oberritter
Hello Paul, On 14.03.2012 01: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. this patch broke my setup. My $BUILDDIR points to tmp, so that pseudo doesn't get rebuilt for every machine. I have a

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

2012-03-14 Thread Darren Hart
On 03/14/2012 08:09 AM, Paul Eggleton wrote: > On Wednesday 14 March 2012 07:52:01 Darren Hart wrote: >> Should this have some kind of prefix? "ERROR: " or something along those >> lines for consistency with other output? > > I did wonder about that; in the end I elected to be consistent with th

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

2012-03-14 Thread Paul Eggleton
On Wednesday 14 March 2012 07:52:01 Darren Hart wrote: > Should this have some kind of prefix? "ERROR: " or something along those > lines for consistency with other output? I did wonder about that; in the end I elected to be consistent with the python version errors in the same script (although I

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

2012-03-14 Thread Darren Hart
On 03/13/2012 05:36 PM, 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]. > > Signed-off-by: Paul Eggleton > --- > scripts/bitbake |5 + > 1 files changed, 5 insert

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

2012-03-13 Thread Paul Eggleton
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]. Signed-off-by: Paul Eggleton --- scripts/bitbake |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/scripts/bitbake b/scripts/b