From 653cb2594d34439f292cf973747ee84bb266ca9e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 22 Jul 2016 13:04:11 +0200 Subject: [PATCH] build: set TMPDIR for opkg calls Signed-off-by: Felix Fietkau --- include/rootfs.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/include/rootfs.mk b/include/rootfs.mk index 2143ef804d..f3ba33a2be 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 \ -- 2.30.2