From 49d1a97e2ae9ee1ff87897b799bfc45ad1f19591 Mon Sep 17 00:00:00 2001 From: Dave Jansen Date: Mon, 1 Dec 2025 22:19:56 +0900 Subject: [PATCH] I give up. For now. --- build_files/cleanup.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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)"