From fc6f458c3becd55277d1ab87d1608f0fe1fccf08 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Wed, 11 Mar 2020 13:14:26 +0100 Subject: [PATCH] TEST-12-RAID-DEG/create-root.sh: more udevadm settle --- test/TEST-12-RAID-DEG/create-root.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/TEST-12-RAID-DEG/create-root.sh b/test/TEST-12-RAID-DEG/create-root.sh index c210b582..f40d2500 100755 --- a/test/TEST-12-RAID-DEG/create-root.sh +++ b/test/TEST-12-RAID-DEG/create-root.sh @@ -20,7 +20,7 @@ echo "The passphrase is test" set -e cryptsetup luksOpen /dev/md0 dracut_crypt_test /tmp/mduuid . /tmp/mduuid +udevadm settle eval $(udevadm info --query=env --name=/dev/md0|while read line || [ -n "$line" ]; do [ "$line" != "${line#*ID_FS_UUID*}" ] && echo $line; done;) { echo "dracut-root-block-created"; echo MD_UUID=$MD_UUID; echo "ID_FS_UUID=$ID_FS_UUID";} | dd oflag=direct,dsync of=/dev/sda