From 83ac732923f8618f410c033e6f82243fb04f6295 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Mon, 24 Aug 2015 15:18:37 -0700 Subject: 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 Signed-off-by: Richard Purdie --- meta/conf/bitbake.conf | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta/conf') 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" # (breaks sysvinit at least) DISTRO[unexport] = "1" +# Make sure SHELL isn't exported +# (can break any number of things if the user's shell isn't POSIX-compliant, +# including the flock command). The user's shell shouldn't affect our builds. +SHELL[unexport] = "1" + # Used by canadian-cross to handle string conversions on TARGET_ARCH where needed TRANSLATED_TARGET_ARCH ??= "${@d.getVar('TARGET_ARCH', True).replace("_", "-")}" -- cgit v1.2.3-54-g00ecf