summaryrefslogtreecommitdiffstats
path: root/oe-init-build-env
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-18 22:52:07 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-21 08:44:18 +0100
commita17724d687f9c04dc21f2f369da2b492f7119ba0 (patch)
treee3f0cc0360ad2a14cffd4073f7ba20af0ba5196f /oe-init-build-env
parentb63fcffe8b6a3f94d4812cd03fb974e173eff3e5 (diff)
downloadopenembedded-core-contrib-a17724d687f9c04dc21f2f369da2b492f7119ba0.tar.gz
oe-init-build-env-memres: Drop it
With the new server structure we no longer need this separate environment init script. Just set BB_SERVER_TIMEOUT to be greater than zero and bitbake will remain in memory and the UI will auto-reconnect to it. Also clean out the old shutdown code from oe-init-build-env which also doesn't make sense now. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'oe-init-build-env')
-rwxr-xr-xoe-init-build-env8
1 files changed, 0 insertions, 8 deletions
diff --git a/oe-init-build-env b/oe-init-build-env
index 5fe68d1e2a..e813230a98 100755
--- a/oe-init-build-env
+++ b/oe-init-build-env
@@ -57,11 +57,3 @@ unset OEROOT
[ -z "$BUILDDIR" ] || cd "$BUILDDIR"
-# Shutdown any bitbake server if the BBSERVER variable is not set
-if [ -z "$BBSERVER" ] && [ -f bitbake.lock ]; then
- grep ":" bitbake.lock > /dev/null && BBSERVER=$(cat bitbake.lock) bitbake --status-only
- if [ $? = 0 ]; then
- echo "Shutting down bitbake memory resident server with bitbake -m"
- BBSERVER=$(cat bitbake.lock) bitbake -m
- fi
-fi