File disable-systemd-sysusers.patch of Package sysuser-tools

# Disable usage of systemd-sysusers for SLE15 to stay compatible

--- sysusers2shadow.sh.old	2021-09-08 15:06:18.000000000 +0200
+++ sysusers2shadow.sh	2021-11-26 10:37:20.911541368 +0100
@@ -7,14 +7,14 @@
 	"$@"
 }
 
-if [ -x /usr/bin/systemd-sysusers ] && [ -e /proc/version ]; then
-
-    if [ -n "$1" ] && [ "$1" != "%3" ]; then
-	    REPLACE_ARG="--replace=/usr/lib/sysusers.d/$1" ||:
-    fi
-    # Use systemd-sysusers and let it read the input directly from stdin
-    run /usr/bin/systemd-sysusers $REPLACE_ARG -
-else
+#if [ -x /usr/bin/systemd-sysusers ] && [ -e /proc/version ]; then
+#
+#    if [ -n "$1" ] && [ "$1" != "%3" ]; then
+#	    REPLACE_ARG="--replace=/usr/lib/sysusers.d/$1" ||:
+#    fi
+#    # Use systemd-sysusers and let it read the input directly from stdin
+#    run /usr/bin/systemd-sysusers $REPLACE_ARG -
+#else
 
     # Absolute path to busybox, if found
     busybox=
@@ -105,4 +105,4 @@
 		;;
 	esac
     done
-fi
+#fi
openSUSE Build Service is sponsored by