feat(coreos-container-image.bbclass): use coreos specific package-group for IMAGE_INSTALL

This commit is contained in:
Samuel Dolt 2023-03-13 11:12:15 +01:00
parent 958f5d244b
commit 5bddcaad7a
2 changed files with 16 additions and 9 deletions

View File

@ -9,15 +9,9 @@ NO_RECOMMENDATIONS = "1"
# the host, thus we can't use linux-dummy has the default kernel provider.
IMAGE_CONTAINER_NO_DUMMY = "1"
# Only install a reduced set of packages in a container. This correspond to
# a subset of packagegroup-core-boot
COREOS_CONTAINER_IMAGE_BASE_INSTALL = '\
base-files \
base-passwd \
netbase \
os-release \
'
COREOS_CONTAINER_IMAGE_BASE_INSTALL = "\
packagegroup-coreos-container \
"
COREOS_CONTAINER_IMAGE_EXTRA_INSTALL ?= ""
IMAGE_INSTALL ?= "${COREOS_CONTAINER_IMAGE_BASE_INSTALL} ${COREOS_CONTAINER_IMAGE_EXTRA_INSTALL}"

View File

@ -0,0 +1,13 @@
SUMMARY = "Basic set of package for container"
PR = "r1"
inherit packagegroup
# Only install a reduced set of packages in a container. This correspond to
# a subset of packagegroup-core-boot
RDEPENDS:${PN} = "\
base-files \
base-passwd \
netbase \
os-release \
"