Fix dual disk macs so we don't corrupt disk1/part1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



OF is clever, we don't need to be on first disk:

Tested working on G4.

Paul
Index: fsset.py
===================================================================
RCS file: /usr/local/CVS/anaconda/fsset.py,v
retrieving revision 1.253
diff -u -r1.253 fsset.py
--- fsset.py	19 May 2005 21:34:02 -0000	1.253
+++ fsset.py	25 May 2005 17:59:32 -0000
@@ -1290,7 +1290,7 @@
         # on ia64, *only* /boot/efi should be marked bootable
         # similarly, on pseries, we really only want the PReP partition active
         if (iutil.getArch() == "ia64" or iutil.getPPCMachine() == "pSeries"
-            or iutil.getPPCMachine() == "iSeries"):
+            or iutil.getPPCMachine() == "iSeries") or iutil.getPPCMachine() == "PMac":
             part = partedUtils.get_partition_by_name(diskset.disks, bootDev)
             if part and part.is_flag_available(parted.PARTITION_BOOT):
                 part.set_flag(parted.PARTITION_BOOT, 1)

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux