Skip to content.

Scientific Linux

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

README.scripts

To use these scripts you will need to modify the "locations.include" script
before you can run the other scripts in this direcory.

Change TREE= to point to your <tree>. Your <tree> is the directory that
contains sites/<site>/ .

You have to change the SITE= line to be your site name.
You have to change the PRODUCT= line to be your product name.
You have to change the RELEASE= line to be your product release.
You have to change the VERSION= line to be your product version.
You should verify that DEFAULT= is correct. This is the directory name that
/RPMS resides in. In this example it is SL as /SL/RPMS is where the
rpms actually reside.

The scripts in this directory are

locations.include Locations and name of things. See above

make.new.site.sh Script that will build a new site from either
the example site or from a full install tree
This is really the best way to make a new site.

build.hdlist.site.sh Used whenever you change/add/remove RPMS
in $TREE/sites/$SITE/Updates
It creates hdlist and hdlist2 in
$TREE/sites/$SITE/base/

build.release.site.sh Used to create install floppy and cd images
and places them in
$TREE/sites/$SITE/images/
Uses kernel in
$TREE/sites/$SITE/Updates/kernel-BOOT-.....
and isolinux customizations from
$TREE/sites/$SITE/build/isolinux/

make.updates.img.sh Used to create
$TREE/sites/$SITE/base/updates.img which
is a ext3 filesystem of
$TREE/sites/$SITE/RHupdates. This is Used during ftp and cdrom installs to
get access the anaconda changes.
$TREE/sites/$SITE/RHupdates is used during
NFS installs.

make.products.img.sh Used to create
$TREE/sites/$SITE/base/product.img
out of contents of
$TREE/sites/$SITE/build/product.img.dir
This is a advanced topic. No documentation
at this time. So no need to run this script
for most users.

make.rpmdb-site.sh Make a rpmdb-site.spec out of rpmdb-example.spec
Changing the appropriate "example" entries

This script is used to make rpmdb-<site>...rpm
Should be run just before you "release" your
site to the world. Used by rpm to help with
dependency prediction.

make.everything.sh Script that runs all of the scripts in this
directory in the right order. Expects that
all of the "config" files that each script
needs are already modified for your site.
This is a just a handy script to have to
run just before you release your site.
Asks is you want to rebuild the install images
and the cd iso images.

compare.sl.vs.site.sh Script to compare trees to determine what
rpms are in which tree. See script for
details.

transform.sh Script that takes a copied tree of sites/example and fixes up all the files. It asks questions.

make.site.from.release.sh Script that takes a Enterprise release tree
and makes it into a site by determining what
rpms are unique. After it is done you should
run transform.sh to fix up the files and then
make.everything.sh to make it all
Created by dawson
Last modified 2005-08-03 10:55 AM
 

Powered by Plone

This site conforms to the following standards: