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@abysm.org>
Link: https://github.com/openwrt/openwrt/pull/16942
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
Kuan-Yi Li 2024-11-14 00:29:21 +08:00 committed by Christian Marangi
parent b902284290
commit 93d005e6bc
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7
1 changed files with 1 additions and 1 deletions

View File

@ -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/; \
) \
)