Paul Spooren 12a7307869 imagebuilder: init APK dirs every time
The `--initdb` command creates basic folders required by APK,
previoiusly it would only run a single time when package_index is
actually called. Since the function isn't called if nothing changes,
`--initdb` doesn't initialize the rootfs again.

This commit moves it to package_reload, which runs every time.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-11-09 16:46:44 +01:00
..

./packages folder

Add .ipk packages to this folder will allow the ImageBuilder to install them.

For more complex setups consider adding a custom feed containing packages.

src custom file:///path/to/packages

Whenever the ImageBuilder builds a firmware image this folder will be reloaded and a new package index created. In case signature checks are enabled the ./packages/Packages index will be signed with a locally generated key pair.