summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-07-22 13:04:11 +0200
committerFelix Fietkau <nbd@nbd.name>2016-07-29 10:18:26 +0200
commit653cb2594d34439f292cf973747ee84bb266ca9e (patch)
tree9de2b44d4f8724d98f20704c20da7b5b8e23e031
parentc792c7512c8e7cfd4e76155369eb8f437977f3e9 (diff)
downloadmtk-20170518-653cb2594d34439f292cf973747ee84bb266ca9e.zip
mtk-20170518-653cb2594d34439f292cf973747ee84bb266ca9e.tar.gz
mtk-20170518-653cb2594d34439f292cf973747ee84bb266ca9e.tar.bz2
build: set TMPDIR for opkg calls
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--include/rootfs.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rootfs.mk b/include/rootfs.mk
index 2143ef8..f3ba33a 100644
--- a/include/rootfs.mk
+++ b/include/rootfs.mk
@@ -37,6 +37,7 @@ endif
opkg = \
IPKG_NO_SCRIPT=1 \
IPKG_INSTROOT=$(1) \
+ TMPDIR=$(1)/tmp \
$(STAGING_DIR_HOST)/bin/opkg \
--offline-root $(1) \
--force-depends \