On Tue, 22 Feb 2000, Frank Hale wrote:
> I wanna modify my current RedHat 6.1 so that I can
> install different packages. I also wanna take out some
> packages that are on the RH 6.1 disk and somehow
> update the installer so that it will know about the
> packages I have deleted and the new packages I want
> installed. I've looked at the source code to Anaconda
> but cannot find out where it gets the file names for
> the rpms to install. Also how can I test out Anaconda
> if I make modifications to it? After I get it all
> completed I wanna burn it to a cd so that I can
> install it.
> 
> There appears to be absolutely *NO* documentation to
> Anaconda that I can find on the RH 6.1 CD. Is there
> any? If so where can I find it. 
> 
> What file holds the rpm database of rpms to install by
> Anaconda?
> 
> How can I test out Anaconda if I make modifications? 
> 
> Thanks,
> Frank Hale
> 

You do not need to modify anaconda at all.  The RedHat/base/comps file controls
which packages are installed (sorry, no documentation here either but take a
look at the file).

If you want to add "new" (non RedHat) files to RedHat/RPMS, then you will need
to rebuild the RedHat/base/hdlist file.  To do this, you first need a running
piglet (or whatever system you have for the RPMS) and compile the stuff under
the "misc/src/anaconda" tree.  Then run the genhdlist program found in
"misc/src/anaconda/utils" with the pointer to your full binary tree for the
distribution.

For example, if you have the distribution (what is on the binary rpm cdrom)
located in a partition and mounted "/mnt/piglet" then you might do the
following:

cd /mnt/piglet
./i386/misc/src/anaconda/utils/genhdlist   /mnt/piglet/i386

Good luck

Gene

-- 
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to