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 2143ef804d8b0d35d06fe0b87ffe242429068773..f3ba33a2be03a5e7a09c0cee6b1f0bcf7b216dac 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 \