From 4fdb048cc17d22d90664c3cac076516b771f4d30 Mon Sep 17 00:00:00 2001 From: unitexe Date: Sat, 3 Jan 2026 15:20:53 -0600 Subject: Podman (rootful & rootless) support - Rootless support for unitexe user specifically --- .../recipes-extended/shadow/shadow_%.bbappend | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 meta-unit-core/dynamic-layers/virtualization-layer/recipes-extended/shadow/shadow_%.bbappend (limited to 'meta-unit-core/dynamic-layers/virtualization-layer/recipes-extended/shadow') diff --git a/meta-unit-core/dynamic-layers/virtualization-layer/recipes-extended/shadow/shadow_%.bbappend b/meta-unit-core/dynamic-layers/virtualization-layer/recipes-extended/shadow/shadow_%.bbappend new file mode 100644 index 0000000..cb2beaa --- /dev/null +++ b/meta-unit-core/dynamic-layers/virtualization-layer/recipes-extended/shadow/shadow_%.bbappend @@ -0,0 +1,12 @@ +# +# Support rootless podman for unitexe user. +# +# This is explained at: +# https://github.com/containers/podman/blob/main/docs/tutorials/rootless_tutorial.md#etcsubuid-and-etcsubgid-configuration +# +do_install:append() { + echo "unitexe:100000:65536" >> ${D}${sysconfdir}/subuid + echo "" >> ${D}${sysconfdir}/subuid + echo "unitexe:100000:65536" >> ${D}${sysconfdir}/subgid + echo "" >> ${D}${sysconfdir}/subgid +} -- cgit v1.2.3