Skip to content

Commit

Permalink
sdk: fix APK key creation
Browse files Browse the repository at this point in the history
The keys are created differently compared to the old OPKG keys. Instead
of being part of base-files/configure, they are created as a Makefile
requirement of `package/compile`, which is a cleaner solution.

This requirement would only be added to non SDK environments, however
APK always requires keys to be available. Add an `else` case for the SDK
and create keys.

Signed-off-by: Paul Spooren <[email protected]>
  • Loading branch information
aparcar committed Aug 8, 2024
1 parent 7455353 commit 44b6df3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ ifneq ($(CONFIG_USE_APK),)
else
$(curdir)/compile: $(curdir)/system/opkg/host/compile
endif
else
ifneq ($(CONFIG_USE_APK),)
$(curdir)/compile: $(BUILD_KEY_APK_SEC) $(BUILD_KEY_APK_PUB)
endif
endif

$(curdir)/install: $(TMP_DIR)/.build $(curdir)/merge $(curdir)/merge-index
Expand Down

0 comments on commit 44b6df3

Please sign in to comment.