feat(coreos-container-image.bbclass): use coreos specific package-group for IMAGE_INSTALL
This commit is contained in:
parent
958f5d244b
commit
5bddcaad7a
|
|
@ -9,15 +9,9 @@ NO_RECOMMENDATIONS = "1"
|
||||||
# the host, thus we can't use linux-dummy has the default kernel provider.
|
# the host, thus we can't use linux-dummy has the default kernel provider.
|
||||||
IMAGE_CONTAINER_NO_DUMMY = "1"
|
IMAGE_CONTAINER_NO_DUMMY = "1"
|
||||||
|
|
||||||
|
COREOS_CONTAINER_IMAGE_BASE_INSTALL = "\
|
||||||
# Only install a reduced set of packages in a container. This correspond to
|
packagegroup-coreos-container \
|
||||||
# a subset of packagegroup-core-boot
|
"
|
||||||
COREOS_CONTAINER_IMAGE_BASE_INSTALL = '\
|
|
||||||
base-files \
|
|
||||||
base-passwd \
|
|
||||||
netbase \
|
|
||||||
os-release \
|
|
||||||
'
|
|
||||||
|
|
||||||
COREOS_CONTAINER_IMAGE_EXTRA_INSTALL ?= ""
|
COREOS_CONTAINER_IMAGE_EXTRA_INSTALL ?= ""
|
||||||
IMAGE_INSTALL ?= "${COREOS_CONTAINER_IMAGE_BASE_INSTALL} ${COREOS_CONTAINER_IMAGE_EXTRA_INSTALL}"
|
IMAGE_INSTALL ?= "${COREOS_CONTAINER_IMAGE_BASE_INSTALL} ${COREOS_CONTAINER_IMAGE_EXTRA_INSTALL}"
|
||||||
|
|
|
||||||
|
|
@ -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 \
|
||||||
|
"
|
||||||
Loading…
Reference in New Issue