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

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


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

commit ed4aabf42594204aa4ac80f99cd7413f554068d1
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Sat Nov 22 09:58:26 2025 +0100

    Revert "package: drop creating spurious tmp directory in feed directory"
    
    This reverts commit cea8507dccc9f677d3d4ed926fc568becfb554d4.
    
    This actually cause package pack error on every package outside the
    target directory.
    
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 include/package-pack.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/package-pack.mk b/include/package-pack.mk
index ee716fadec..2baceae72a 100644
--- a/include/package-pack.mk
+++ b/include/package-pack.mk
@@ -280,6 +280,8 @@ endif
 		)
     endif
 
+	$(INSTALL_DIR) $$(PDIR_$(1))/tmp
+
 ifeq ($(CONFIG_USE_APK),)
 	mkdir -p $$(IDIR_$(1))/CONTROL
 	(cd $$(IDIR_$(1))/CONTROL; \




More information about the lede-commits mailing list