diff options
Diffstat (limited to 'conf')
| -rw-r--r-- | conf/distro/include/meta-virt-container.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/conf/distro/include/meta-virt-container.inc b/conf/distro/include/meta-virt-container.inc index d3e91eef..6472d855 100644 --- a/conf/distro/include/meta-virt-container.inc +++ b/conf/distro/include/meta-virt-container.inc | |||
| @@ -40,3 +40,13 @@ | |||
| 40 | 40 | ||
| 41 | CONTAINER_RO_REMOVE ?= " ${@bb.utils.contains('VIRTUAL-RUNTIME_container_engine', 'podman', 'shadow', '', d)}" | 41 | CONTAINER_RO_REMOVE ?= " ${@bb.utils.contains('VIRTUAL-RUNTIME_container_engine', 'podman', 'shadow', '', d)}" |
| 42 | ROOTFS_RO_UNNEEDED:remove = "${CONTAINER_RO_REMOVE}" | 42 | ROOTFS_RO_UNNEEDED:remove = "${CONTAINER_RO_REMOVE}" |
| 43 | |||
| 44 | # Container registry IMAGE_FEATURES support. | ||
| 45 | # Defining FEATURE_PACKAGES_container-registry globally makes | ||
| 46 | # "container-registry" a valid IMAGE_FEATURES value for any image | ||
| 47 | # recipe (image.bbclass check_image_features auto-discovers | ||
| 48 | # FEATURE_PACKAGES_* variables). This avoids IMAGE_FEATURES[validitems] | ||
| 49 | # which pollutes signatures when set globally. | ||
| 50 | # Default is empty (validation only); container-image-host.bb sets the | ||
| 51 | # actual packages. | ||
| 52 | FEATURE_PACKAGES_container-registry ?= "" | ||
