Dang: I think instead of modifying source, you can modify the <hexcode>-comps.xml file in "repodata/" folder on ISO and edit the "WebServer" category. You only have to change the sub-groups listed under that category from "optional" to "mandatory".
Similarly you can also add a custom category in the comps.xml file and add all sub-groups as "mandatory" in this category. After that you just have to run "creatrepo -g (modified)-comps.xml ." command.
comps.xml file is very simple to understand and I think is the easiest solution to what you are trying to achieve.
PS: In case you want to modify the source for the sake of learning about anaconda, you can go through: https://github.com/rhinstaller/anaconda/blob/master/pyanaconda/ui/gui/spokes/software.py
and then trace back to it's callers.
On 4 August 2015 at 16:08, Đặng Thanh Phúc <dtphuc1302@xxxxxxxxx> wrote:
HI all,I'm a newbie. I'm interested with anaconda. I've tried to research and modify anaconda from source code.I'd like to ask you some questions. Please help me out.1. I choose Web Server and I want to check all sub-groups packages of them. How can I do it ?2. I want to add new group "Everything" and check all sub-groups packages. How can I modify it ?I'm looking forward to seeing your reply. Thanks so muchBest regards
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
Cheers,
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list