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

[f17 master 1/2] finish ROOT_PATH changes in bootloader (#789169)



From: "Brian C. Lane" <bcl redhat com>

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

diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index 0d04501..4ab1f4c 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -1520,16 +1520,16 @@ class EFIGRUB(GRUB):
     #
     # installation
     #
-    def write(self, install_root=""):
+    def write(self):
         """ Write the bootloader configuration and install the bootloader. """
         if self.update_only:
-            self.update(install_root=install_root)
+            self.update()
             return
 
         sync()
-        self.stage2_device.format.sync(root=install_root)
-        self.install(install_root=install_root)
-        self.write_config(install_root=install_root)
+        self.stage2_device.format.sync(root=ROOT_PATH)
+        self.install()
+        self.write_config()
 
 class GRUB2(GRUB):
     """ GRUBv2
@@ -1922,10 +1922,10 @@ class IPSeriesYaboot(Yaboot):
     # installation
     #
 
-    def install(self, install_root=""):
+    def install(self):
         self.updatePowerPCBootList()
 
-        super(IPSeriesYaboot, self).install(install_root=install_root)
+        super(IPSeriesYaboot, self).install()
 
     def updatePowerPCBootList(self):
 
-- 
1.7.6.5


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