]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
TEST-40-NBD/create-root.sh: sleep before disassembling root device
authorHarald Hoyer <harald@redhat.com>
Thu, 11 Aug 2011 12:23:56 +0000 (14:23 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 11 Aug 2011 13:36:29 +0000 (15:36 +0200)
test/TEST-40-NBD/create-root.sh

index b9fe9689c7e64345ac4aedf32df5b3e9c057caa7..bd866e409a7049478656cdfaad4ee4ff324af11f 100755 (executable)
@@ -18,7 +18,10 @@ mkdir -p /sysroot && \
 mount /dev/dracut/root /sysroot && \
 cp -a -t /sysroot /source/* && \
 umount /sysroot && \
+sleep 1 && \
 lvm lvchange -a n /dev/dracut/root && \
+sleep 1 && \
 cryptsetup luksClose /dev/mapper/dracut_crypt_test && \
+sleep 1 && \
 echo "dracut-root-block-created" >/dev/sda
 poweroff -f