All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][PATCH 0/3] OCI multi-layer fixes for dnf5 and nginx
@ 2026-11-22 18:29 Tim Orling
  2026-11-22 18:29 ` [meta-virtualization][PATCH 1/3] image-oci: track multi-layer rootfs directories with pseudo Tim Orling
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Tim Orling @ 2026-11-22 18:29 UTC (permalink / raw)
  To: meta-virtualization; +Cc: Tim Orling

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
-- 
2.56.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-11-22 23:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-22 18:29 [meta-virtualization][PATCH 0/3] OCI multi-layer fixes for dnf5 and nginx Tim Orling
2026-11-22 18:29 ` [meta-virtualization][PATCH 1/3] image-oci: track multi-layer rootfs directories with pseudo Tim Orling
2026-11-22 23:29   ` Bruce Ashfield
2026-11-22 18:29 ` [meta-virtualization][PATCH 2/3] container-volatile-fixup: run after empty_var_volatile Tim Orling
2026-11-22 18:29 ` [meta-virtualization][PATCH 3/3] app-container-nginx: create /run/nginx and /var/log/nginx in rootfs Tim Orling

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.