[PATCH rhel6-branch] PPC: strengthen PReP-picking algorithm (#877852)
Will Woods
wwoods at redhat.com
Tue Sep 10 16:17:26 UTC 2013
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
More information about the anaconda-patches
mailing list