if ksdata.packages.addBase:
- ksdata.packages.groupList.insert(1, Group("Base"))
+ # Only add @base if it's not already in the group list. If the
+ # %packages section contains something like "@base --optional",
+ # addBase will take effect first and yum will think the group is
+ # already selected.
+ if not Group("Base") in ksdata.packages.groupList:
+ ksdata.packages.groupList.insert(1, Group("Base"))
else:
log.warning("not adding Base group")
--
1.7.8.4
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list