On Wed, 2013-08-14 at 14:15 -0500, David Lehman wrote:
I think this needs to account for either /boot or / being on md, so something like this:
bootDevice = self.storage.mountpoints.get("/boot", self.storage.rootDevice) if hasattr(bootDevice, "disk"): bootdisks = [bootDevice.disk] else: bootdisks = list(set([p.disk for p in bootDevice.parents]))
for dev in prepdevs: if dev.disk in bootdisks: return dev
I've incorporated this into v2 of the patch, which I'll send in a second.
The rest looks okay to me. Is there a corresponding blivet patch for master?
We talked about this on IRC (last month probably (!)) but AFAICT blivet/master already Does The Right Thing with PReP partitions.
-w