Remove hacks that don't apply in present repo setup flow.
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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
03-05-2010, 01:39 PM
Ales Kozumplik
Remove hacks that don't apply in present repo setup flow.
On 03/05/2010 02:37 PM, Radek Vykydal wrote:
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.
---
Looks like a good companion for the first patch.
Ales
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list