[openwrt/openwrt] imagebuilder: fix APK keys dir creation

LEDE Commits lede-commits at lists.infradead.org
Wed Nov 13 08:42:16 PST 2024


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

commit 93d005e6bc571e062b3dd263c06b2d9957552e9c
Author: Kuan-Yi Li <kyli at abysm.org>
AuthorDate: Thu Nov 14 00:29:21 2024 +0800

    imagebuilder: fix APK keys dir creation
    
    Make keys directory for APK instead of OPKG while adding local key.
    
    Signed-off-by: Kuan-Yi Li <kyli at abysm.org>
    Link: https://github.com/openwrt/openwrt/pull/16942
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 target/imagebuilder/files/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/imagebuilder/files/Makefile b/target/imagebuilder/files/Makefile
index c92ab74306..56f761e966 100644
--- a/target/imagebuilder/files/Makefile
+++ b/target/imagebuilder/files/Makefile
@@ -249,7 +249,7 @@ ifeq ($(CONFIG_USE_APK),)
 else
 	$(if $(CONFIG_SIGNATURE_CHECK), \
 		$(if $(ADD_LOCAL_KEY), \
-			mkdir -p $(TARGET_DIR)/etc/opkg/keys/; \
+			mkdir -p $(TARGET_DIR)/etc/apk/keys/; \
 			cp $(BUILD_KEY_APK_PUB) $(TARGET_DIR)/etc/apk/keys/; \
 		) \
 	)




More information about the lede-commits mailing list