[PATCH] Wrong kickstart bootloader written

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

 



BootLoader.writeKS writes an incorrect value in the kickstart file.  Fix is written by dlehman
and tested on PPC.

---
 pyanaconda/bootloader.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index 062361d..c9a2a77 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -1061,7 +1061,7 @@ class BootLoader(object):
         """ Write bootloader section of kickstart configuration. """
         if not self.stage1_device:
             location = "none\n"
-        elif self.stage1_device.isDisk:
+        elif self.stage1_device != self.stage2_device:
             location = "mbr"
         else:
             location = "partition"
-- 
1.7.7.6

_______________________________________________
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