diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-18 22:52:07 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-21 08:44:25 +0100 |
| commit | 0ad65be8bffaa84042c170b46ca320d0a69f012e (patch) | |
| tree | 0887d7910a567dd990a532d74027d7fb4fc93c04 /oe-init-build-env | |
| parent | 0a9e0f03f5f4e22775cd25a65afd07fbb0409ce1 (diff) | |
| download | poky-0ad65be8bffaa84042c170b46ca320d0a69f012e.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.
(From OE-Core rev: a17724d687f9c04dc21f2f369da2b492f7119ba0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'oe-init-build-env')
| -rwxr-xr-x | oe-init-build-env | 8 |
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 | |||
| 57 | 57 | ||
| 58 | [ -z "$BUILDDIR" ] || cd "$BUILDDIR" | 58 | [ -z "$BUILDDIR" ] || cd "$BUILDDIR" |
| 59 | 59 | ||
| 60 | # Shutdown any bitbake server if the BBSERVER variable is not set | ||
| 61 | if [ -z "$BBSERVER" ] && [ -f bitbake.lock ]; then | ||
| 62 | grep ":" bitbake.lock > /dev/null && BBSERVER=$(cat bitbake.lock) bitbake --status-only | ||
| 63 | if [ $? = 0 ]; then | ||
| 64 | echo "Shutting down bitbake memory resident server with bitbake -m" | ||
| 65 | BBSERVER=$(cat bitbake.lock) bitbake -m | ||
| 66 | fi | ||
| 67 | fi | ||
