From: "d.marlin" dmarlin@redhat.com
Signed-off-by: David A. Marlin dmarlin@redhat.com --- pyanaconda/platform.py | 9 +++++++++ 1 file changed, 9 insertions(+)
diff --git a/pyanaconda/platform.py b/pyanaconda/platform.py index 64b9cc8..2614e41 100644 --- a/pyanaconda/platform.py +++ b/pyanaconda/platform.py @@ -350,6 +350,15 @@ class ARM(Platform): self._armMachine = iutil.getARMMachine() return self._armMachine
+ def weight(self, fstype=None, mountpoint=None): + """Return the ARM platform-specific weight for the / partition. + On ARM images '/' must be the last partition, so we try to + weight it accordingly.""" + if mountpoint == "/": + return -100 + else: + return Platform.weight(self, fstype=fstype, mountpoint=mountpoint) + class omapARM(ARM): _boot_stage1_format_types = ["vfat"] _boot_stage1_device_types = ["partition"]
On Thu, Nov 01, 2012 at 03:56:15PM -0500, d.marlin wrote:
From: "d.marlin" dmarlin@redhat.com
Signed-off-by: David A. Marlin dmarlin@redhat.com
pyanaconda/platform.py | 9 +++++++++ 1 file changed, 9 insertions(+)
diff --git a/pyanaconda/platform.py b/pyanaconda/platform.py index 64b9cc8..2614e41 100644 --- a/pyanaconda/platform.py +++ b/pyanaconda/platform.py @@ -350,6 +350,15 @@ class ARM(Platform): self._armMachine = iutil.getARMMachine() return self._armMachine
- def weight(self, fstype=None, mountpoint=None):
"""Return the ARM platform-specific weight for the / partition.
On ARM images '/' must be the last partition, so we try to
weight it accordingly."""
if mountpoint == "/":
return -100
else:
return Platform.weight(self, fstype=fstype, mountpoint=mountpoint)
class omapARM(ARM): _boot_stage1_format_types = ["vfat"] _boot_stage1_device_types = ["partition"] -- 1.7.10.2
Ack. I'll push this to master.
anaconda-patches@lists.fedorahosted.org