FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 03-25-2010, 04:14 PM
Radek Vykydal
 
Default Remove hacks that don't apply in present repo setup flow (#576936).

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.

This patch is already in master, I did it when working on this one:
http://git.fedorahosted.org/git/?p=anaconda.git;a=commit;h=b63c8752b195715c75688be 9af732267f893be59

I'd like to have it in rhel6-branch too. What do you think?

---
yuminstall.py | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/yuminstall.py b/yuminstall.py
index 3bd01e5..995c4a9 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -1175,18 +1175,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
 

Thread Tools




All times are GMT. The time now is 08:21 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org