[PATCH] Remove hacks that don't apply in present repo setup flow.

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

 



We don't need the hacks because both before and after (for going back case)
calling doGroupsSetup, the group selection info is reset. Before (reposetup
step) - the ayum object is created. After - it is reset in basepkgsel step.
---
 yuminstall.py |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/yuminstall.py b/yuminstall.py
index 62112d4..9a16945 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -1169,18 +1169,7 @@ reposdir=/etc/anaconda.repos.d,/tmp/updates/anaconda.repos.d,/tmp/product/anacon
     def doGroupSetup(self, anaconda):
         while True:
             try:
-                # FIXME: this is a pretty ugly hack to make it so that we don't lose
-                # groups being selected (#237708)
-                sel = filter(lambda g: g.selected, self.ayum.comps.get_groups())
                 self.ayum.doGroupSetup()
-                # now we'll actually reselect groups..
-                map(lambda g: self.selectGroup(g.groupid), sel)
-
-                # and now, to add to the hacks, we'll make sure that packages don't
-                # have groups double-listed.  this avoids problems with deselecting
-                # groups later
-                for txmbr in self.ayum.tsInfo.getMembers():
-                    txmbr.groups = yum.misc.unique(txmbr.groups)
             except (GroupsError, NoSuchGroup, RepoError), e:
                 buttons = [_("_Exit installer"), _("_Retry")]
             else:
-- 
1.6.0.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