[PATCH v2 01/13] image-oci: set OCI_IMAGE_RUNTIME_UID with ??=
Tim Orling <[email protected]> Mon, 6 Jul 2026 10:12:36 -0700
| Newsgroups | org.yoctoproject.lists.meta-virtualization |
|---|---|
| Message-ID | <2a7f456b9137fb0d19117a9792623fc279e0cd5b.1783356922.git.tim.orling@konsulko.com> |
Allow other subsequently inherited classes, such as container-nonroot-user to set OCI_IMAGE_RUNTIME_UID with ?= Signed-off-by: Tim Orling <[email protected]> --- classes/image-oci.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/image-oci.bbclass b/classes/image-oci.bbclass index 1ceadc7f..9914411b 100644 --- a/classes/image-oci.bbclass +++ b/classes/image-oci.bbclass @@ -94,7 +94,8 @@ OCI_IMAGE_AUTHOR ?= "${PATCH_GIT_USER_NAME}" OCI_IMAGE_AUTHOR_EMAIL ?= "${PATCH_GIT_USER_EMAIL}" OCI_IMAGE_TAG ?= "latest" -OCI_IMAGE_RUNTIME_UID ?= "" +# Allow other classes e.g. container-nonroot-user to set with ?= +OCI_IMAGE_RUNTIME_UID ??= "" OCI_IMAGE_ARCH ?= "${@oe.go.map_arch(d.getVar('TARGET_ARCH'))}" OCI_IMAGE_SUBARCH ?= "${@oci_map_subarch(d.getVar('TARGET_ARCH'), d.getVar('TUNE_FEATURES'), d)}" -- 2.54.0