mkosi: use the just built systemd-sysusers instead of groupadd
It disappeared again from SUSE Tumbleweed. Just use sysusers since we just built it.
This commit is contained in:
committed by
Frantisek Sumsal
parent
13be736d1f
commit
80c2f3e4cf
+1
-1
@@ -156,7 +156,7 @@ cd "$BUILDDIR"
|
||||
ninja "$@"
|
||||
if [ "$WITH_TESTS" = 1 ] ; then
|
||||
for id in 1 2 3; do
|
||||
getent group $id >/dev/null || groupadd -g $id testgroup$id
|
||||
getent group $id >/dev/null || echo "g testgroup$id $id -" | ./systemd-sysusers -
|
||||
done
|
||||
|
||||
if [ -n "$SANITIZERS" ]; then
|
||||
|
||||
Reference in New Issue
Block a user