summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2015-08-24 15:18:37 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-30 12:35:57 +0100
commit83ac732923f8618f410c033e6f82243fb04f6295 (patch)
tree02a8c34a8b2cb1065f68bebc50e75a628a40b2f0 /meta/conf
parent06b97accfe6b13f31c63cc850bdcdebf8b4da24a (diff)
downloadpoky-83ac732923f8618f410c033e6f82243fb04f6295.tar.gz
bitbake.conf: unexport SHELL
The user's shell shouldn't be allowed to affect the build (and it can break the flock command and possibly more, if the user's shell isn't POSIX compliant). (From OE-Core rev: fc5e1cfcc3ab7acfb6e7e12cb2cf7fa4699ae7b3) (From OE-Core rev: 43a2baf26dad4b7b2f0e4c6af3ea4a611cee7ad5) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/bitbake.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index c382c58b2d..aa785a13f3 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -763,6 +763,11 @@ TARGET_ARCH[unexport] = "1"
763# (breaks sysvinit at least) 763# (breaks sysvinit at least)
764DISTRO[unexport] = "1" 764DISTRO[unexport] = "1"
765 765
766# Make sure SHELL isn't exported
767# (can break any number of things if the user's shell isn't POSIX-compliant,
768# including the flock command). The user's shell shouldn't affect our builds.
769SHELL[unexport] = "1"
770
766# Used by canadian-cross to handle string conversions on TARGET_ARCH where needed 771# Used by canadian-cross to handle string conversions on TARGET_ARCH where needed
767TRANSLATED_TARGET_ARCH ??= "${@d.getVar('TARGET_ARCH', True).replace("_", "-")}" 772TRANSLATED_TARGET_ARCH ??= "${@d.getVar('TARGET_ARCH', True).replace("_", "-")}"
768 773