]> git.pld-linux.org Git - packages/ganeti-instance-image.git/blame - kpartx-sync.patch
- wait for kpartx to finish before using partitions it created
[packages/ganeti-instance-image.git] / kpartx-sync.patch
CommitLineData
571d8377
JR
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.084972 seconds and 4 git commands to generate.