sbsigntool-native: specify TMPDIR

Issue: LIN1018-450

Under extremely rare circumstances, access can be denied to /tmp,
so we specify a local TMPDIR.

This is a cherry-pick of 886c44b from WRL 10.17.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
This commit is contained in:
Joe Slater
2018-05-25 13:37:24 -07:00
committed by Jia Zhang
parent 9e63c16057
commit b2bb64d9e6
@@ -60,7 +60,7 @@ do_configure() {
if [ ! -e lib/ccan ]; then if [ ! -e lib/ccan ]; then
export CC="${BUILD_CC}" export CC="${BUILD_CC}"
lib/ccan.git/tools/create-ccan-tree \ TMPDIR=lib lib/ccan.git/tools/create-ccan-tree \
--build-type=automake lib/ccan \ --build-type=automake lib/ccan \
talloc read_write_all build_assert array_size endian || exit 1 talloc read_write_all build_assert array_size endian || exit 1
fi fi