imagebuilder: init APK dirs every time
authorPaul Spooren <mail@aparcar.org>
Fri, 8 Nov 2024 09:37:16 +0000 (10:37 +0100)
committerPaul Spooren <mail@aparcar.org>
Sat, 9 Nov 2024 15:46:44 +0000 (16:46 +0100)
commit12a73078692da9d6b2e599d4cd4eb8a18daf3c63
tree659cf572515df9aace068114535977fe540b7f2b
parent15b7994c0198bef0b59bc78880529017387a239d
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>
target/imagebuilder/files/Makefile