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

Re: Upgrading from RedHat 9 to Fedora for homemade install DVDs


This may or may not be of use to you. I have been using this to make
DVDs. It is what I call 'hand script'. I am not sure if it would work as
a script, but I open it and cut and paste the instructions one by one.

export DISTBASE=/data/src/selinux
export PYTHONPATH=/usr/lib/anaconda
export BASEDIR=$DISTBASE/Development/Core1/Fedora/base
export COREDIR=$DISTBASE/Development/Core1
export HDFILE=$BASEDIR/hdlist
export PRODUCT_PATH=Fedora
export PKGORDER=$BASEDIR/pkgorder.txt
export VERSION2=dist-fedora
export PRODUCT=Fedora
export RELEASE=Fedora
#Copy the comps.development file which contains the list of install
groups for the
# development system to the $BASEDIR for generating a file list.
cp $DISTBASE/Development/HF/comps.development.xml $BASEDIR/comps.xml
#removed the old hdlist
if [ -e $BASEDIR/hdlist* ]
    rm $BASEDIR/hdlist*
# Generate the base list.
genhdlist --hdlist $HDFILE --productpath $PRODUCT_PATH $COREDIR
# determine the load order for rpms
# generate the pkg.xml from the comps.xml
ln -s /data/selinux/Fedora/Core1/custom/SELinux/Core1/Fedora
/usr/share/comps-extras/getfullcomps.py comps.xml
/data/selinux/Fedora/Core1/custom/SELinux Core1 >
#add pkgs.xml to the end of comps.xml
sed -i -e /\<\!--\ packages\ --\>/'r ./pkgs.xml' ./comps.xml
cd -
##'removed the old hdlist
if [ -e $BASEDIR/hdlist* ]
    rm $BASEDIR/hdlist*
# Generate the base list.
genhdlist --withnumbers --fileorder $PKGORDER --hdlist $HDFILE
--productpath $PRODUCT_PATH $COREDIR
# create an install build
buildinstall --pkgorder $PKGORDER --comp $VERSION2 --version $VERSION
--prodpath $PRODUCT_PATH --release $RELEASE --product $PRODUCT $COREDIR
#create ISO
mkisofs -b isolinux/isolinux.bin \
        -c isolinux/boot.cat \
        -no-emul-boot \
        -boot-load-size 4 \
        -boot-info-table \
        -R \
        -J \
        -V "JCDX Horizontal Fusion 1.0" \
        -T \
        -p "Nick Gray <nagray austin rr com>" \
        -P "Nick Gray <nagray austin rr com>" \
        -A "JCDX Horizontal Fusion 1.0 created on 15 Feb 2004" \
         -o $DISTBASE/Development/Core1.iso/HF-disc1.iso \
# Format the DVD+RW. This is only done for DVD+RW and only NEEDS to be
done once.
/usr/bin/dvd+rw-format /dev/scd0
/usr/bin//growisofs -Z

On Wed, 2004-02-25 at 05:20, Toralf Lund wrote:
> I'm migrating my setup for custom OS install DVDs from Red Hat Linux 9 
> to Fedora Core 1. (The DVDs contain the base distribution, selected 
> components from the official updates, and various additional packages 
> built by me.)
> Is there anything special I need to keep in mind when doing this? Any 
> significant changes to the "anaconda-runtime" tools (genhdlist, 
> makestamp.py etc.)? And how about the directory structure? Do I have to 
> call the toplevel directory "Fedora", or will "RedHat" still work?
> - Toralf
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list redhat com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list
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]