build: detach apk repository handling from rootfs.mk
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 24 Oct 2024 18:25:06 +0000 (20:25 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 28 Oct 2024 23:07:51 +0000 (00:07 +0100)
commit23e27d21d532ffd3535810a6c8da2c70354bf78b
treee47b56163c13fdae68d2f9455e30ff2c672bf459
parent5667b380cd30eeaeb39f0445bcb62b704f2c3223
build: detach apk repository handling from rootfs.mk

To better support imagebuilder declaring --repositories-file on calling
apk macro, detach this and --repository from rootfs.mk macro and move it
to package Makefile and image.mk where they are used to permit a more
generic usage.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
include/image.mk
include/rootfs.mk
package/Makefile