Support removing groups that were included by a glob (#554717).
commitf3bb9ec85501fd6a3cd3d306f08c7b6716e54c08
authorChris Lumens <clumens@redhat.com>
Thu, 14 Jan 2010 18:38:24 +0000 (14 13:38 -0500)
committerChris Lumens <clumens@redhat.com>
Thu, 14 Jan 2010 19:07:18 +0000 (14 14:07 -0500)
tree1cc865726b91c82686f5484bc9775cb68813ef78
parente500faebbf514d5466bba35d501261bed6495538
Support removing groups that were included by a glob (#554717).

pykickstart doesn't know anything about packages, and therefore does not
expand globs.  Group exclusion currently only works by taking into account
groups previously mentioned in the kickstart file.  This implementation
was primarily motivated by the spin kickstart files that %include.  So, a
kickstart snippet like the following:

%packages
*
-@foo
%end

will not exclude the group foo, because it was not previously mentioned.
This patch adds a new list that users of pykickstart can inspect to make
sure to remove the groups.
pykickstart/parser.py