build: generate private key for APK early main master
authorDaniel Golle <daniel@makrotopia.org>
Wed, 22 May 2024 14:19:45 +0000 (16:19 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 22 May 2024 17:28:20 +0000 (19:28 +0200)
commit9a11bc3682dd7e95eb0534da9e2dbe3cdaa1c6de
tree730dee9285001fcee5e66c4b5ca27dcef1a1b49a
parent4a78c46cbd64a69e0ce799d13a3c021260771b83
build: generate private key for APK early

Other than OPKG which only uses signed package list, APK uses
individually signed packages in addition to signed package lists. Hence,
in order to be able to generate package, the private key needs to be
generated before compiling packages. Express that dependency and
generate the private key before building any packages instead of doing
so as part of the base-files package build.

Fixes: d788ab376f ("build: add APK package build capabilities")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/Makefile
package/base-files/Makefile