Skip to content.

Scientific Linux

Personal tools
You are here: Home » Distributions » 30x » SL 302 » Sites » Example Site » README


The /sites/example directory contains a "template" of what is required for site
customizations of Scientific Linux(SL). See the README.steps file for more
info on the steps needed to create your own "site".

Definitions used in this document.

1. <default> is the default directory of the base
RPMS. In our case that will be SL.


2. <sitename> is your sitename which is the directory under sites/

In this example it will be "example"


3. <tree> is the directory where <default>/ exists

In this example it is /mnt/src/sl30rolling/i386/
Note that it must be a full path name.

This is NOT a tutorial on how to modify "anaconda" the installer. For
more info on that see
DIRECTORIES and FILES under /sites/<sitename>/


comps.xml File that defines what is to be
comps.xml.main Your working copy of the comps.xml file
scripts/ Script to move comps.xml.main over as
comps.xml and save old one in oldcomps/

hdlist Database of RPM headers used during
hdlist2 the install. Also contain links to
the actual RPM file names.
Created by the genhdlist command
when you use the --site <site> option

can be used to easily update these

genhdlist --default <default> --site sites/<sitename> <tree>

--default <default>

Defines where <default>/RPMS is located under <tree>

--site <sitelocation>

<sitelocation> is /sites/<sitename>

If --site is left off, hdlist and hdlist2 will
be created in the <tree>/<default>/base/ direcory.
This is needed when rpms are added or removed from
the <tree>/<default>/RPMS/ directory.

--site <sitelocation> is required when RPMS are
added or removed from the
<tree>/sites/<sitename>/Updates directory.


genhdlist --default SL --site sites/example /mnt/src/sl30rolling/i386/

These ext2 file system images(.img) contain all the programs and
files needed for an install.
is used to create these images.

netstg2.img ftp and http install
stage2.img CD-ROM and nfs install
hdstg2.img Hard disk install

pkgorder List of RPMS in order of installation


Location for "customized" rpms. You can either replace/override rpms
from <tree>/<default>/RPMS/ or add your own rpms. It is up to you to
make sure that all added or modified rpms can get their dependencies met
between <tree>/<default>/RPMS/ and <tree>/sites/<sitename>/Updates .

If you add or delete or change RPMS in <tree>/sites/<sitename>/Updates/
then you need to remake your <tree>/sites/<sitename>/base/hdlist* files.
This is done with genhdlist. See above for more info on genhdlist
and a script to make this job easier.

What you can put in here:

custom installer kernel rpm

kernel-BOOT- ....

Any RPMS that you need that are not in <tree>/<default>/RPMS/
Note that if you want these RPMS to be installed by default you must
include them in your <tree>/sites/<sitename>/base/comps.xml file
Note that if you downgrade rpms and version is lower than what is in
<tree>/<default>/RPMS then you should make sure your yum config
file takes this into account otherwise yum will upgrade it to the
higher version.

custom installer -- This is a alternative to




Customizations to the isolinux files used to make the install floppy
and cd images. For more info on isolinux see /usr/share/doc/syslinux* .


Your customized boot.msg file.


Your customized isolinux.cfg file for boot.iso .


Your customized syslinux.cfg file for floppy install images .


Your customized splash.lss file. This is the "image"
that is seen at the beginning of the install boot process.
The .lss file format is an ascii based picture format.
It is generated by using the pngtopnm program.


Documentation on how/what to change in this directory.


Very important
Explains what all the other scripts here do.


For explanation as to what these scripts do, read the README


Contains more documentation on building sites.


Contains examples of files used to create /isolinux/splash.lss


Your python customizations to the installer. Other way is to make new
anaconda-* rpms and put them in <tree>/sites/<sitename>/Updates/



Linked from /SL.documentation/sites/<sitename>
Your releasenotes. Contents are up to you.

any other documentation you want


Images used in booting the install process. Files with .img extensions are
vfat (DOS) floppy disk images, .iso are iso9660 CD images.

bootdisk.img These are created by "/usr/lib/anaconda-runtime/buildinstall
drvnet.img See /sites/example/build/scripts/
pcmciadd.img See /sites/example/build/scripts/README first


RPMS/ Directory for site specfic errata for you to point to
RPMS/ Directory for old rpms


Directory for your site specific SRPMS's
Created by dawson
Last modified 2005-08-03 10:55 AM

Powered by Plone

This site conforms to the following standards: