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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user