[Revisor-users] Adding Custom Repositories

Jeroen van Meeuwen (Fedora Unity) kanarip at fedoraunity.org
Sun Nov 11 17:02:07 UTC 2007


G. Michael Carter wrote:
> I've almost got my F8 revisor install the way I want.   One thing I want 
> to do is add my custom repositories to the list under "Additional Fedora 
> Software". in the "Add additional software repositories" area.   Is 
> there a way to add my repositories to the list so they are selectable to 
> the user?  (That way they don't need to click the + and know the URL)
> 

Yes, there is. The list of items such as "Office and Productivity", 
"Software Development" and "Web Server", as well as the "Additional 
Fedora Software" are being set in /usr/lib/anaconda/installclasses/fedora.py

As this is a file that is being pulled in to the installer images during 
compose, directly from the anaconda RPM, it's not easy to change the 
actual source so that it presents you with a different set of options.

Including an ext2 updates.img though with a modified 
anaconda/installclasses/fedora.py in there, could resolve your problem. 
Revisor does take a command line parameter specifying an updates-img for 
not just this purpose.

More information on creating and including an updates.img file correctly 
so that anaconda picks up on it is on:

http://fedoraproject.org/wiki/Anaconda/Updates

For the booting with 'linux updates', you can set "im_append" which 
appends this to the default bootloader configuration.

Another method around this of course is to include the packages from the 
private repository onto the media by modifying the yum configuration 
file Revisor uses in /etc/revisor/conf.d/.

Kind regards,

Jeroen van Meeuwen
-kanarip


More information about the Revisor-users mailing list