From 68b89ad773884e52404e77bfe4bc3f8638e68c29 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Fri, 12 Jul 2024 09:53:08 +0200 Subject: [PATCH] add syncs to avoid fs issues --- usr/bin/archboot-testsuite.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/usr/bin/archboot-testsuite.sh b/usr/bin/archboot-testsuite.sh index eeec75b2e..1bc0df237 100755 --- a/usr/bin/archboot-testsuite.sh +++ b/usr/bin/archboot-testsuite.sh @@ -133,6 +133,7 @@ echo "Stop error: lvm pv" >> blockdevices-error.log echo "12345678" >/passphrase cryptsetup -q luksFormat /dev/loop0 "${_NO_LOG}" ||\ echo "Creation error: cryptsetup" >> blockdevices-error.log +sync cryptsetup luksOpen /dev/loop0 /dev/mapper/testluks "${_NO_LOG}" ||\ echo "Creation error: cryptsetup open" >> blockdevices-error.log cryptsetup remove /dev/mapper/testluks &>"${_NO_LOG}" ||\