mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 12:58:44 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user