From: Harald Hoyer Date: Wed, 11 Mar 2020 12:14:26 +0000 (+0100) Subject: TEST-12-RAID-DEG/create-root.sh: more udevadm settle X-Git-Tag: 051~200 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc6f458c3becd55277d1ab87d1608f0fe1fccf08;p=thirdparty%2Fdracut.git TEST-12-RAID-DEG/create-root.sh: more udevadm settle --- diff --git a/test/TEST-12-RAID-DEG/create-root.sh b/test/TEST-12-RAID-DEG/create-root.sh index c210b5821..f40d2500f 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