1
0
mirror of https://github.com/containers/bootc.git synced 2026-02-05 15:45:53 +01:00

hack: Add missing sysusers.d entry for sudo

TODO add this to the base image

Signed-off-by: Colin Walters <walters@verbum.org>
This commit is contained in:
Colin Walters
2025-02-13 17:51:40 -05:00
parent c08e9f842f
commit 8ca5e49f0c

View File

@@ -37,3 +37,10 @@ d /var/roothome/buildinfo/content_manifests 0755 - - -
f /var/roothome/buildinfo/content_manifests/content-sets.json 0644 - - -
EOF
fi
# And add missing sysusers.d entries
if ! grep -q -r sudo /usr/lib/sysusers.d; then
cat >/usr/lib/sysusers.d/bootc-sudo-workaround.conf <<'EOF'
g sudo 16
EOF
fi