diff --git a/build_files/cleanup.sh b/build_files/cleanup.sh index 7c0a9fb..5828eec 100755 --- a/build_files/cleanup.sh +++ b/build_files/cleanup.sh @@ -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)"