This commit is contained in:
parent
a787c1dc95
commit
a1088879d8
@ -1,8 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Dec 18 09:27:18 UTC 2024 - Thorsten Kukuk <kukuk@suse.com>
|
|
||||||
|
|
||||||
- Revert last changes partly, add Conflict for systemd < 238
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 11 11:05:25 UTC 2024 - Thorsten Kukuk <kukuk@suse.com>
|
Wed Dec 11 11:05:25 UTC 2024 - Thorsten Kukuk <kukuk@suse.com>
|
||||||
|
|
||||||
|
@ -42,7 +42,6 @@ Group: System/Packages
|
|||||||
Requires(pre): (/usr/sbin/useradd or busybox)
|
Requires(pre): (/usr/sbin/useradd or busybox)
|
||||||
# prefer original shadow over busybox by default
|
# prefer original shadow over busybox by default
|
||||||
Suggests: shadow
|
Suggests: shadow
|
||||||
Conflicts: systemd < 238
|
|
||||||
|
|
||||||
%description -n sysuser-shadow
|
%description -n sysuser-shadow
|
||||||
This package contians a tool, which expects as input a sysusers.d
|
This package contians a tool, which expects as input a sysusers.d
|
||||||
|
@ -13,7 +13,9 @@ if [ -x /usr/bin/systemd-sysusers ] && [ -e /proc/version ]; then
|
|||||||
REPLACE_ARG="--replace=/usr/lib/sysusers.d/$1"
|
REPLACE_ARG="--replace=/usr/lib/sysusers.d/$1"
|
||||||
fi
|
fi
|
||||||
# Use systemd-sysusers and let it read the input directly from stdin
|
# Use systemd-sysusers and let it read the input directly from stdin
|
||||||
run /usr/bin/systemd-sysusers $REPLACE_ARG -
|
if ! run /usr/bin/systemd-sysusers $REPLACE_ARG - ; then
|
||||||
|
run /usr/bin/systemd-sysusers -
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
# Absolute path to busybox, if found
|
# Absolute path to busybox, if found
|
||||||
busybox=
|
busybox=
|
||||||
|
Loading…
Reference in New Issue
Block a user