TEST-11-LVM/create-root.sh: sleep before disassembling device
authorHarald Hoyer <harald@redhat.com>
Thu, 11 Aug 2011 13:35:08 +0000 (15:35 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 11 Aug 2011 15:52:39 +0000 (17:52 +0200)
test/TEST-11-LVM/create-root.sh

index 357c481..4d58e4d 100755 (executable)
@@ -23,6 +23,8 @@ 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 && \
 echo "dracut-root-block-created" >/dev/sda1
 poweroff -f