Patchwork Revert "scripts/bitbake: ensure user is in build directory"

login
register
mail settings
Submitter Andreas Oberritter
Date March 15, 2012, 10:31 p.m.
Message ID <1331850703-3074-1-git-send-email-obi@opendreambox.org>
Download mbox | patch
Permalink /patch/23473/
State New
Headers show

Comments

Andreas Oberritter - March 15, 2012, 10:31 p.m.
This reverts commit b4df1c7c79b5c801658bcf890ba3a8eab3d83189, because
it breaks setups where oe-core scripts aren't used, e.g. for a shared
tmp directory.

See http://lists.linuxtogo.org/pipermail/openembedded-core/2012-March/019136.html
---
 scripts/bitbake |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

Patch

diff --git a/scripts/bitbake b/scripts/bitbake
index 45c8697..dda3b26 100755
--- a/scripts/bitbake
+++ b/scripts/bitbake
@@ -47,11 +47,6 @@  float_test() {
 # but earlier versions do not
 float_test "$TARVERSION > 1.23" && needtar="0"
 
-if [ "`pwd`" != "$BUILDDIR" ] ; then
-    echo "BitBake must be run from your build directory: $BUILDDIR"
-    exit 1
-fi
-
 buildpseudo="1"
 if [ $needpseudo = "1" ] && [ -e "$BUILDDIR/pseudodone" ]; then
     PSEUDOBINDIR=`cat $BUILDDIR/pseudodone`