summaryrefslogtreecommitdiffstats
path: root/bitbake
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
parent8b7a548e30ee44dd78d26f08b9bec6dddb84991f (diff)
downloadpoky-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')
-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()
128 fi 128 fi
129 stop_bitbake 129 stop_bitbake
130 webserverKillAll 130 webserverKillAll
131 # unset exported variables
132 unset DATABASE_URL
133 unset TOASTER_CONF
134 unset TOASTER_DIR
131 trap - SIGHUP 135 trap - SIGHUP
132 #trap - SIGCHLD 136 #trap - SIGCHLD
133 INSTOPSYSTEM=0 137 INSTOPSYSTEM=0