mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
meta-virt-container.inc: Install shadow in read-only rootfs
Podman requires /etc/sub[g]uid for rootless mode but the file is being deleted if shadow is in ROOTFS_RO_UNNEEDED (even if different package like the podman itself provides it) and rpm backend is used. Signed-off-by: Pavel Zhukov <pavel@zhukoff.net> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
c29190ec1e
commit
48e559c4f4
|
@ -38,3 +38,6 @@ VIRTUAL-RUNTIME_container_orchestration ??= "k3s"
|
|||
|
||||
VIRTUAL-RUNTIME_cri ??= "virtual-containerd"
|
||||
VIRTUAL-RUNTIME_cni ??= "cni"
|
||||
|
||||
CONTAINER_RO_REMOVE ?= " ${@bb.utils.contains('VIRTUAL-RUNTIME_container_engine', 'podman', 'shadow', '', d)}"
|
||||
ROOTFS_RO_UNNEEDED:remove = "${CONTAINER_RO_REMOVE}"
|
||||
|
|
Loading…
Reference in New Issue
Block a user