|
|
@@ -70,7 +70,8 @@ ifneq ($(CONFIG_USE_APK),)
|
|
|
(cd $(PACKAGE_DIR_ALL) && $(STAGING_DIR_HOST)/bin/apk mkndx \
|
|
|
--root $(TOPDIR) \
|
|
|
--keys-dir $(TOPDIR) \
|
|
|
- --sign $(BUILD_KEY_APK_SEC) \
|
|
|
+ --allow-untrusted \
|
|
|
+ $(if $(CONFIG_SIGNED_PACKAGES),--sign $(BUILD_KEY_APK_SEC),) \
|
|
|
--output packages.adb \
|
|
|
*.apk; \
|
|
|
)
|
|
|
@@ -100,6 +101,7 @@ ifneq ($(CONFIG_USE_APK),)
|
|
|
$(foreach pkg,$(shell cat $(PACKAGE_INSTALL_FILES) 2>/dev/null),$(pkg)$(call GetABISuffix,$(pkg))))
|
|
|
$(call apk,$(TARGET_DIR)) add --no-cache --initdb --no-scripts --arch $(ARCH_PACKAGES) \
|
|
|
--repositories-file /dev/null --repository file://$(PACKAGE_DIR_ALL)/packages.adb \
|
|
|
+ $(if $(CONFIG_SIGNED_PACKAGES),,--allow-untrusted) \
|
|
|
$$(cat $(TMP_DIR)/apk_install_list) \
|
|
|
"base-files=$(shell cat $(TMP_DIR)/base-files.version)" \
|
|
|
"libc=$(shell cat $(TMP_DIR)/libc.version)" \
|
|
|
@@ -133,7 +135,8 @@ ifneq ($(CONFIG_USE_APK),)
|
|
|
$(STAGING_DIR_HOST)/bin/apk mkndx \
|
|
|
--root $(TOPDIR) \
|
|
|
--keys-dir $(TOPDIR) \
|
|
|
- --sign $(BUILD_KEY_APK_SEC) \
|
|
|
+ --allow-untrusted \
|
|
|
+ $(if $(CONFIG_SIGNED_PACKAGES),--sign $(BUILD_KEY_APK_SEC),) \
|
|
|
--output packages.adb \
|
|
|
*.apk; \
|
|
|
$(STAGING_DIR_HOST)/bin/apk adbdump --format json packages.adb | \
|