From: Christian Marangi Date: Sat, 22 Nov 2025 09:01:55 +0000 (+0100) Subject: package: drop creating spurious tmp directory in feed directory X-Git-Tag: v24.10.5~45 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=443fc115767f4f1c95fb8536c7e615c5371cc1da;p=openwrt%2Fopenwrt.git package: drop creating spurious tmp directory in feed directory In implementing APK support it seems a a leftover was never removed that creates an unused tmp directory in the package feed directory. Drop it as it's not used anywhere. What is actually needed is the creation of the $$(PDIR_$(1)) directory for the feed package directory in the bin/packages directory. This was a side effect of using INSTALL_DIR on $$(PDIR_$(1))/tmp that indirectly creates the $$(PDIR_$(1)) parent directory. Fixes: d788ab376f85 ("build: add APK package build capabilities") Signed-off-by: Christian Marangi (cherry picked from commit f9802d70c633e5c502466e7b276613362967c8cb) --- diff --git a/include/package-pack.mk b/include/package-pack.mk index 9d06c8b647..aa734f5af0 100644 --- a/include/package-pack.mk +++ b/include/package-pack.mk @@ -248,7 +248,7 @@ endif ) endif - $(INSTALL_DIR) $$(PDIR_$(1))/tmp + $(INSTALL_DIR) $$(PDIR_$(1)) ifeq ($(CONFIG_USE_APK),) mkdir -p $$(IDIR_$(1))/CONTROL