From a17724d687f9c04dc21f2f369da2b492f7119ba0 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 18 Jul 2017 22:52:07 +0100 Subject: 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 --- oe-init-build-env | 8 -------- 1 file changed, 8 deletions(-) (limited to 'oe-init-build-env') 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 -- cgit 1.2.3-korg