[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: A newbies? question


Much later in the day and I have made quite a bit of progress. I thought
I would share my procedure and errors with the list in hopes of figuring
out what blunders I have made.

I am able to start an install (currently running) and my menu items show

> I have been using this web page (Bob's Anaconda HOWTO - Release Setup)
> http://www.sd.no-ip.biz/code/aurora/setup.html

This page seems to be off line

> t   </grouplist>
>     <packagelist>
>     <packagereq type="mandatory">libfwbuilder-1.0.2-2.fdr1</packagereq>
>     <packagereq type="mandatory">fwbuilder-1.1.2-1.fdr1</packagereq>
>     <packagereq type="mandatory">fwbuilder-ipt-1.1.2-1.fdr1</packagereq>

I realized thath the titles I had here were probably wrong so I did

rpm -qi -p package and used the name it gave me (i.e. fwbuilder)

here is what I have so far in what I call the "cut and paste script"
format. I leave the file open and cut and paste the instructions. If
they don't work I modify them.


export DISTBASE=/data/selinux
export PYTHONPATH=/usr/lib/anaconda
export DISTDIR=/data/selinux/Fedora/Core1/custom
export BASEDIR=/data/selinux/Fedora/Core1/custom/SELinux/Core1
export ROOTDIR=/data/selinux/Fedora/Core1/custom/SELinux/Core1/Fedora
export SOURCE=/data/selinux/Fedora/Core1/custom/SELinux/SRPMS
export PRODUCT=Fedora
export PRODUCT_PATH=Fedora
export VERSION2=dist-fedora
export RELEASE=Fedora
export RELEASE_STRING="Horizontal Fusion Development 1.0"
#CD into the build root
cd /data/selinux
# Build the Standard tree
scripts/buildReleaseTree Fedora Core1 6
# Now copy the ISO files into the iso directory
# If you are coming in at this point remove everything under the custom
dir but not the dir itself.
# Build Custom tree named SELinux
scripts/buildCustomTree Fedora Core1 SELinux
#Modify the comps.xml to include the three files needed for installation
of SELinux
#cp /comps.xml
#removed the old hdlist
rm /data/selinux/Fedora/Core1/custom/SELinux/Core1/Fedora/base/hdlist*
# Generate the base list.
genhdlist --hdlist $HDFILE --productpath $PRODUCT_PATH $BASEDIR
# determine the load order for rpms
cd /data/selinux/comps
/usr/share/comps-extras/getfullcomps.py comps.xml
/data/selinux/Fedora/Core1/custom/SELinux Core1 > pkgs.xml
add pkgs.xml to the end of comps.xml
replace the old comps.xml with a new one
#removed the old hdlist
rm /data/selinux/Fedora/Core1/custom/SELinux/Core1/Fedora/base/hdlist*
# Generate the base list.
genhdlist --withnumbers --fileorder $PKGORDER --hdlist $HDFILE
--productpath $PRODUCT_PATH $BASEDIR
# create an install build
buildinstall --pkgorder $PKGORDER --comp $VERSION2 --version $VERSION
--prodpath $PRODUCT_PATH --release $RELEASE --product $PRODUCT $BASEDIR
# At this point I can do a NFS install to test the installation
#split the build among the disks
splittree.py --arch=i386 --total-discs=6 --bin-discs=3 --src-discs=3
--release-string="$RELEASE_STRING" --pkgorderfile=$PKGORDER
--distdir=$BASEDIR --srcdir=$SOURCE --productpath=$PRODUCT_PATH $BASEDIR


I seem to keep getting an error on genhdlist because it doesn't have any
information on the order of the fwbuilder stuff.

[root hawaii comps]# genhdlist --withnumbers --fileorder $PKGORDER
--hdlist $HDFILE --productpath $PRODUCT_PATH $BASEDIR
WARNING: ordering not found for fwbuilder-1.1.2-1.fdr1.i386.rpm
WARNING: ordering not found for libfwbuilder-1.0.2-2.fdr1.i386.rpm
WARNING: ordering not found for fwbuilder-ipt-1.1.2-1.fdr1.i386.rpm

Can someone tell me how to add this information??

Next question: Does the CD based install still use a kickstart file? I
want to run postinstall commands when doing this install.


Nick (Nix) Gray
Senior Systems Engineer
Bruzenak Inc.
(512) 331-7998

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]