[PATCH rhel7-branch] Process excludedGroupList after packages and groups.

Vratislav Podzimek vpodzime at redhat.com
Fri Aug 28 06:58:59 UTC 2015


On Thu, 2015-08-27 at 09:34 -0400, Chris Lumens wrote:
> > Wouldn't this result in packages requested to be installed not installed if they
> > are in an excluded group? I mean something like:
> > 
> > %packages
> > git
> > - at Development tools
> > %end
> 
> Yep, that is exactly that will happen.
> 
> Here's the quick backstory:  Way back in RHEL5, QA wanted to be able to
> install everything and then do some sort of testing with that.  However,
> you can't install everything because some of the packages conflict with
> others.  Thus, the fix was to add a conflicts group in comps.  We didn't
> have a way of specifying a group that should be removed, so I added that
> syntax and behavior specifically to support the conflicts group thing.
> 
> Apparently they're still doing this in RHEL7 (don't know about RHEL6).
> So yeah, group removals were added just to make this behavior happen.
Then we need to make this clear in the documentation because obviously
it's not right now. A while ago I was changing the code paths in the
same block of code due to a Fedora bug [1] where somebody considered a
bug exactly that case which this commit breaks.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1091952

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list