Skip to content

OCI multi-layer fixes for dnf5 and nginx

Tim Orling yocto-meta-virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3image-oci: track multi-layer rootfs directories with pseudoclasses/image-oci.bbclass+8 -01 reply
2/3container-volatile-fixup: run after empty_var_volatileclasses/container-volatile-fixup.bbclass+8 -10 replies
3/3app-container-nginx: create /run/nginx and /var/log/nginx in rootfsrecipes-containers/images/app-container-nginx.bb+11 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [meta-virtualization][PATCH 0/3] OCI multi-layer fixes for dnf5 and nginx

Since oe-core moved to dnf 5.4.7.0, every OCI_LAYER_MODE = "multi" image fails to install its packages: layers, because the layer rootfs under ${WORKDIR}/oci-layer-rootfs is not tracked by pseudo. Patch 1 fixes that.

Patches 2 and 3 fix the long-standing "OCI: Directory not found in IMAGE_ROOTFS" warnings from app-container-nginx: empty_var_volatile was wiping the container-volatile-fixup directories, and nginx's /run and /var/log directories are never created outside of boot-time tmpfiles.d.

Tested with the containers-library autobuilder target (aarch64 and x86-64): all containers build with no warnings.

[YOCTO #16531]

Tim Orling (3):
image-oci: track multi-layer rootfs directories with pseudo
container-volatile-fixup: run after empty_var_volatile
app-container-nginx: create /run/nginx and /var/log/nginx in rootfs

 classes/container-volatile-fixup.bbclass         |  9 ++++++++-
 classes/image-oci.bbclass                        |  8 ++++++++
 recipes-containers/images/app-container-nginx.bb | 11 +++++++++++
 3 files changed, 27 insertions(+), 1 deletion(-)

base-commit: 89b00d096a432000766729cd721ae647af500112

Signature · 1 line
2.56.1