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

LEDE Commits lede-commits at lists.infradead.org
Sat Nov 22 01:05:30 PST 2025


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/f9802d70c633e5c502466e7b276613362967c8cb

commit f9802d70c633e5c502466e7b276613362967c8cb
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>
---
 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 2baceae72a..c989fdb116 100644
--- a/include/package-pack.mk
+++ b/include/package-pack.mk
@@ -280,7 +280,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