[openwrt/openwrt] package: drop creating spurious tmp directory in feed directory

LEDE Commits lede-commits at lists.infradead.org
Sun Nov 23 02:41:56 PST 2025


ansuel pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/443fc115767f4f1c95fb8536c7e615c5371cc1da

commit 443fc115767f4f1c95fb8536c7e615c5371cc1da
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Sat Nov 22 10:01:55 2025 +0100

    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 <ansuelsmth at gmail.com>
    (cherry picked from commit f9802d70c633e5c502466e7b276613362967c8cb)
---
 include/package-pack.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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




More information about the lede-commits mailing list