[PATCH 2/4] Do not set parted.PARTITION_BOOTABLE on s390.

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

 



From: root <root@xxxxxxxxxxxxxxxxxxxxxx>

s390x DASDS don't have bootable partition flags.
---
 storage/devices.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/storage/devices.py b/storage/devices.py
index bc6b0f8..3073a1d 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -1171,6 +1171,8 @@ class PartitionDevice(StorageDevice):
     def _setBootable(self, bootable):
         """ Set the bootable flag for this partition. """
         if self.partedPartition:
+            if iutil.isS390():
+                return
             if self.flagAvailable(parted.PARTITION_BOOT):
                 if bootable:
                     self.setFlag(parted.PARTITION_BOOT)
-- 
1.6.2.5

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[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