[OE-core] [PATCH] oe-init-build-env-memres: Unset BBSERVER if already set

Richard Purdie richard.purdie at linuxfoundation.org
Fri Oct 4 13:17:03 UTC 2013


When starting a new server we don't want bitbake to connect to an existing
server so ensure BBSERVER is unset.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
diff --git a/oe-init-build-env-memres b/oe-init-build-env-memres
index dca819b..79b91b7 100755
--- a/oe-init-build-env-memres
+++ b/oe-init-build-env-memres
@@ -42,6 +42,10 @@ else
    else
       OEROOT="`pwd`"
    fi
+   if [ -n "$BBSERVER" ]; then
+      unset BBSERVER
+   fi
+            
    OEROOT=`readlink -f "$OEROOT"`
    export OEROOT
    . $OEROOT/scripts/oe-buildenv-internal && \





More information about the Openembedded-core mailing list