imagebuilder: fix package inclusion and APK index
authorPaul Spooren <mail@aparcar.org>
Wed, 6 Nov 2024 15:32:03 +0000 (16:32 +0100)
committerPaul Spooren <mail@aparcar.org>
Sat, 9 Nov 2024 15:46:35 +0000 (16:46 +0100)
commit451e2ce006eaba5341d7e33ac587719c3bf18701
tree2263e40a24ab778f579d6401bd7bf60210a8e988
parentad1c1b7047b2e716b75031e26af544532f429f10
imagebuilder: fix package inclusion and APK index

We need to exclude packages from the APK index which must not be
upgraded. To do so, the packages `libc`, `kernel` and `base-files` are
excluded to APK never suggestes them as upgradable.

The previous logic would however match packages like `libcomerr0`,
causing build failures. Make the copying and excluding logic more
precise by adding a single dash.

Signed-off-by: Paul Spooren <mail@aparcar.org>
package/Makefile
target/imagebuilder/Makefile