Temporarily only look at /etc/group
All checks were successful
Build container image / Build and push image (push) Successful in 24m3s

This commit is contained in:
2025-12-01 18:54:34 +09:00
parent 8efc5f4192
commit 047419e525

View File

@@ -15,13 +15,13 @@ cat /usr/lib/group
## Handle files that rpm-ostree would normally remove
## Borrowed from: https://github.com/hhd-dev/rechunk/blob/master/1_prune.sh#L33
if [ -f /etc/passwd ]; then
echo
echo Appending the following passwd users to /usr/lib/passwd
out=$(grep -v "root" /etc/passwd)
echo "$out"
echo "$out" >>/usr/lib/passwd
fi
# if [ -f /etc/passwd ]; then
# echo
# echo Appending the following passwd users to /usr/lib/passwd
# out=$(grep -v "root" /etc/passwd)
# echo "$out"
# echo "$out" >>/usr/lib/passwd
# fi
if [ -f /etc/group ]; then
echo
echo Appending the following group entries to /usr/lib/group