build: set TMPDIR for opkg calls
authorFelix Fietkau <nbd@nbd.name>
Fri, 22 Jul 2016 11:04:11 +0000 (13:04 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 29 Jul 2016 08:18:26 +0000 (10:18 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
include/rootfs.mk

index 2143ef8..f3ba33a 100644 (file)
@@ -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 \