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.

(From OE-Core rev: a17724d687f9c04dc21f2f369da2b492f7119ba0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2017-07-18 22:52:07 +01:00
parent 0a9e0f03f5
commit 0ad65be8bf
4 changed files with 1 additions and 101 deletions

View File

@@ -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