aboutsummaryrefslogtreecommitdiffstats
path: root/bitbake/bin
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-12-02 10:02:59 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-07 17:37:11 +0000
commit0497b570e5544a241a64fa05cf6c69db3e930226 (patch)
tree48ee18be0c78fdaf21336eaa4608af92663d5494 /bitbake/bin
parent8b7a548e30ee44dd78d26f08b9bec6dddb84991f (diff)
downloadopenembedded-core-contrib-0497b570e5544a241a64fa05cf6c69db3e930226.tar.gz
bitbake: toaster: unset environment variables
Toaster script sets environment variables when it starts. It makes sense to unset them when toaster stops as they can cause other programs to behave incorrectly. (Bitbake rev: 7a2e9745ff3ef6d6360f74b222248d4bd35e6a08) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-xbitbake/bin/toaster4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index 3b5b7f868b..6d1ec0573a 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -128,6 +128,10 @@ stop_system()
fi
stop_bitbake
webserverKillAll
+ # unset exported variables
+ unset DATABASE_URL
+ unset TOASTER_CONF
+ unset TOASTER_DIR
trap - SIGHUP
#trap - SIGCHLD
INSTOPSYSTEM=0