I give up. For now.
All checks were successful
Build container image / Build and push image (push) Successful in 25m36s

This commit is contained in:
2025-12-01 22:19:56 +09:00
parent e816126ea2
commit 49d1a97e2a

View File

@@ -5,16 +5,16 @@ set -ouex pipefail
## Handle files that rpm-ostree would normally remove
## Adapted from: https://github.com/hhd-dev/rechunk/blob/master/1_prune.sh#L33
if [ -f /etc/passwd ]; then
out="$(grep -v 'root' /etc/passwd)"
if [[ ! -z "$out" ]]; then
echo
echo Appending the following passwd users to /usr/lib/passwd
echo "${out}"
echo "$out" >>/usr/lib/passwd
fi
fi
# if [ -f /etc/passwd ]; then
# out="$(grep -v 'root' /etc/passwd)"
#
# if [[ ! -z "$out" ]]; then
# echo
# echo Appending the following passwd users to /usr/lib/passwd
# echo "${out}"
# echo "$out" >>/usr/lib/passwd
# fi
# fi
if [ -f /etc/group ]; then
out="$(grep -v 'root\|wheel' /etc/group)"