you can exclude package in the repo, such as fedora-updates.repo using 'exclude' ----- Original Message ----- > From: "阿林" <wanglei403xa@xxxxxxx> > To: "Discussion of Development and Customization of the Red Hat Linux Installer" <anaconda-devel-list@xxxxxxxxxx> > Sent: Monday, December 5, 2011 11:47:36 AM > Subject: Re:Re: how to change repo option after it has been set up > > > > hi Hongqing, > > I want set a option in function configBaseRepo yuminstall.py of > anaconda . The option is exclude packages , gaven it kernel-doc, > kernel-firmware.It can work now. I indeed need this option . Later > installation , for some condition, I need install this two packages. > But the repos has already setup. Then How can I change the option to > install the both packages by yum in anaconda? or do you have some > good suggestion for that? > Thank you very much Hongqing for your replay. > > Best regards, > Lei Wang > > > > > > > 在 2011-12-05 11:03:17,"Hongqing Yang" <hoyang@xxxxxxxxxx> 写道: > > > > > >----- Original Message ----- > >> From: "阿林" <wanglei403xa@xxxxxxx> > >> To: anaconda-devel-list@xxxxxxxxxx > >> Sent: Monday, December 5, 2011 10:56:55 AM > >> Subject: how to change repo option after it has been set up > >> > >> > >> > >> hello dear anaconda developers, > >> I have a question about repos. When I set config at yum.repos.d or > >> similar direction, and anaconda have create a repo in repos. I set > >> some option in repo. How can I change and enable some option after > >> repos had been setup? I find that the changed options can not > >> work. > >> Do you have some good methods to finished such work? > >> Thank you ! > >> > >> Best Regards, > >> Lei wang > >> > > > >Not very clear with your question. Can you post the file in > > yum.repos.d here? > > > >Hongqing > > > >_______________________________________________ > >Anaconda-devel-list mailing list > >Anaconda-devel-list@xxxxxxxxxx > >https://www.redhat.com/mailman/listinfo/anaconda-devel-list > > > _______________________________________________ > Anaconda-devel-list mailing list > Anaconda-devel-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/anaconda-devel-list _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list