]> git.pld-linux.org Git - packages/ganeti-instance-image.git/blob - kpartx-sync.patch
- wait for kpartx to finish before using partitions it created
[packages/ganeti-instance-image.git] / kpartx-sync.patch
1 --- ganeti-instance-image-0.6/common.sh.in~     2013-07-01 21:04:13.000000000 +0200
2 +++ ganeti-instance-image-0.6/common.sh.in      2014-02-22 20:53:09.813718196 +0100
3 @@ -288,7 +288,7 @@
4          log_error "Cannot interpret kpartx output and get partition mapping"
5          exit 1
6      fi
7 -    $KPARTX -a -p- $blockdev > /dev/null
8 +    $KPARTX -a -s -p- $blockdev > /dev/null
9      filesystem_dev="/dev/mapper/${filesystem_dev_base/%-1/}"
10      if [ ! -b "/dev/mapper/$filesystem_dev_base" ]; then
11          log_error "Can't find kpartx mapped partition: /dev/mapper/$filesystem_dev_base"
This page took 0.186951 seconds and 3 git commands to generate.