[PATCH] Fix a traceback when installing over previous installs on PPC (#499963).

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

 



---
 storage/partitioning.py |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/storage/partitioning.py b/storage/partitioning.py
index 8bdac9b..9b1aeb5 100644
--- a/storage/partitioning.py
+++ b/storage/partitioning.py
@@ -748,7 +748,11 @@ def allocatePartitions(disks, partitions):
             # For platforms with a fake boot partition (like Apple Bootstrap or
             # PReP) and multiple disks, we need to ensure the /boot partition
             # ends up on the same disk as the fake one.
-            if free and (_part.req_bootable or getattr(_part.format, "mountpoint", "").startswith("/boot")):
+            mountpoint = getattr(_part.format, "mountpoint", "")
+            if not mountpoint:
+                mountpoint = ""
+
+            if free and (_part.req_bootable or mountpoint.startswith("/boot")):
                 # if this is a bootable partition we want to
                 # use the first freespace region large enough
                 # to satisfy the request
-- 
1.6.1.3

_______________________________________________
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