imagebuilder: actually support IB from buildbot
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 24 Oct 2024 18:36:43 +0000 (20:36 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 28 Oct 2024 23:07:52 +0000 (00:07 +0100)
commita8d17c21e4e8f089f229361c43f1b219cb8f2a96
tree7bb5c5404c336b07c9fd594ffa234652bccc6afb
parent1c211e778180068b348cffaa668b37156bb8e5fd
imagebuilder: actually support IB from buildbot

ImageBuilder compiled by buildbot doesn't have any package in the
packages directory. Package needs to be downloaded instead.

This works by calling update to the package manage to download the
remove index and download the file.

Fix missing support for this with APK, by configuring the
--repositories-file option and calling the APK update.

Also move the apk add --initdb to package_index.

If CONFIG_SIGNATURE_CHECK is not enabled, the signature is not checked.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/imagebuilder/files/Makefile