sbsigntool: specify TMPDIR

There is a build error if the /tmp directory is mounted with noexec
option:
lib/ccan.git/tools/create-ccan-tree: line 130: /tmp/tmp.MSe2mg2hM5/ccan_depends: Permission denied

Specify a local TMPDIR to fix it.

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>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
This commit is contained in:
Joe Slater
2018-05-25 13:37:24 -07:00
committed by Jia Zhang
parent a7d57f04b8
commit f341b8653c
@@ -62,7 +62,7 @@ do_configure_prepend() {
# The default setting depends on (non-whitelisted) host tools. # The default setting depends on (non-whitelisted) host tools.
sed -i -e 's#^\(SCOREDIR=\).*#\1#' lib/ccan.git/Makefile sed -i -e 's#^\(SCOREDIR=\).*#\1#' lib/ccan.git/Makefile
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 talloc read_write_all build_assert array_size endian
fi fi