This should fix an issue with /dev/mapper/loop* partition not
being available for mkfs step after kpartx as reported by many users.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741407
self.runcmd(['install-mbr', self.settings['image']])
def setup_kpartx(self):
- out = self.runcmd(['kpartx', '-av', self.settings['image']])
+ out = self.runcmd(['kpartx', '-avs', self.settings['image']])
if self.settings['bootsize']:
bootindex = 0
rootindex = 1