[PATCH 2/2] Remove duplicate boot disk setting code (#848841).

Chris Lumens clumens at redhat.com
Thu Aug 16 15:31:46 UTC 2012


See 87b825c5ac14dfa16985f3115bec66c7ade68be1 for the GUI commit that does
the same.
---
 pyanaconda/ui/tui/spokes/storage.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/pyanaconda/ui/tui/spokes/storage.py b/pyanaconda/ui/tui/spokes/storage.py
index bfa90ac..40a167a 100644
--- a/pyanaconda/ui/tui/spokes/storage.py
+++ b/pyanaconda/ui/tui/spokes/storage.py
@@ -245,12 +245,6 @@ class StorageSpoke(NormalTUISpoke):
         # user may have set up before now.
         self.storage.config.clearNonExistent = self.data.autopart.autopart
 
-        # Pick the first disk to be the destination device for the bootloader.
-        # This appears to be the minimum amount of configuration required to
-        # make autopart happy with the bootloader settings.
-        if not self.data.bootloader.bootDrive:
-            self.data.bootloader.bootDrive = self.storage.bootloader.disks[0].name
-
     def execute(self):
         print(_("Generating updated storage configuration"))
         try:
-- 
1.7.11.2



More information about the anaconda-patches mailing list