From da8a01cb86f94356760294f9680f8c585f02ba8a Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Wed, 27 Mar 2024 20:53:07 +0100 Subject: [PATCH] Temporarily beef up the losetup check Before https://github.com/systemd/systemd/pull/31989 is merged and the workaround can be reverted completely. --- integration/upstream-tests/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/upstream-tests/test.sh b/integration/upstream-tests/test.sh index 50d4523..ea72112 100755 --- a/integration/upstream-tests/test.sh +++ b/integration/upstream-tests/test.sh @@ -59,7 +59,7 @@ cp -fv "/boot/initramfs-$(uname -r).img" "$INITRD" dracut -f -v -a crypt --install /usr/lib64/libkmod.so.2 --rebuild "$INITRD" # Work around https://github.com/util-linux/util-linux/issues/2824 -if grep -q "losetup --find" /usr/lib/systemd/tests/testdata/units/testsuite-72.sh; then +if grep -qF "losetup --find >" /usr/lib/systemd/tests/testdata/units/testsuite-72.sh; then patch /usr/lib/systemd/tests/testdata/units/testsuite-72.sh <<\EOF diff --git a/test/units/testsuite-72.sh b/test/units/testsuite-72.sh index 953f2a16bf..312a53def1 100755