There were a couple of rpms that didn't match, but I didn't find that any
were showstoppers.

Here is a slightly modified version of the script that I used.
..
#!/bin/sh
# Linux-Mandrake ISO CD Creation Script (thanks to Kenny Graunke for this
one!)
# Fixes and modifications to handle using a preexisting mirror (without
#      messing up that mirror) added by Guy T. Rice


# You MUST change these variables for your particular configuration:

shopt -s extglob

# Set this to the location of where you want to download Linux-Mandrake to.
mdkLOCALROOT=/home/csyoung/Cooker
# Set these to the location where you want your ISO images to be created.
mdkISO1DIR=/home/csyoung/mdkiso1
mdkISO2DIR=/home/csyoung/mdkiso2
# Set this to 1 to download Linux-Mandrake.
mdkMIRROR=0
# Set these to your FTP mirror and directory, respectively:
mdkFTPSITE=herbie.ucs.indiana.edu
mdkFTPDIR=/linux/mandrake/mandrake-devel/cooker
# Set this to a non-empty string to copy an already existing local mirror
mdkPREEXISTING=/home/csyoung/lftp
# You should not have to change anything below this point.

# If there's a preexisting mirror, copy it to our build location
#if [ -n "$mdkPREEXISTING" ]; then
#  rm -f $mdkLOCALROOT/mirror
#  cp -a $mdkPREEXISTING $mdkLOCALROOT/mirror
#fi

# mirror from ftp preserving permissions and symlinks
# Be careful altering the download-method, e.g. using
# "wget -rm $mdkFTPSITE$mdkFTPDIR 2>&1 | tee -a ~/.wget.log"
#   If you do so and if you had an existing mirror before, you can get
#   a list of all updated packages by "grep RETR ~/.wget.log"
#   You MUST kick off their outdated versions since otherwise it will
produce a
#   wrong Installation-CD (see commentaries above). Therefore, to manage the
#   cleaning this script should be cut in two after having finished the
download.
#
if [ "$mdkMIRROR" = "1" ]; then
  mkdir $mdkLOCALROOT/mirror
  cd $mdkLOCALROOT/mirror
  lftp -c "open $mdkFTPSITE; cd $mdkFTPDIR; mirror"
fi

# make sure tools needed by this script are available and up to date
# rpm complains that other packages depend on these for no apparent reason
# (we're not removing them) so I've added --nodeps to stop it from
complaining
rpm -Uvh --nodeps $mdkLOCALROOT/mirror/Mandrake/RPMS/popt-* # needed by rpm
rpm -Uvh --nodeps $mdkLOCALROOT/mirror/Mandrake/RPMS/rpm-* # needed by
rpmtools
rpm -Uvh --nodeps $mdkLOCALROOT/mirror/Mandrake/RPMS/rpmtools-* # we need
these

# create new directory to place the rpms for the second CD
mkdir -p $mdkLOCALROOT/cd2/Mandrake/RPMS2

# move all files in the directory for CD2
cp $mdkLOCALROOT/mirror/Mandrake/RPMS/* $mdkLOCALROOT/cd2/Mandrake/RPMS2
cp $mdkLOCALROOT/mirror $mdkLOCALROOT/cd1

# move the apropriate files in the directory for first CD
for i in `cat $mdkLOCALROOT/cd1/Mandrake/base/rpmslist`
do
mv $mdkLOCALROOT/cd2/Mandrake/RPMS2/$i-!(*-*)-!(*-*)mdk*.rpm
$mdkLOCALROOT/cd1/Mandrake/RPMS
done

# put the image in a separate dir to be sure the CD will boot everywhere
mkdir -p $mdkLOCALROOT/images
mv $mdkLOCALROOT/cd1/images $mdkLOCALROOT/images

# change to directory of main CD
cd $mdkLOCALROOT/cd1

# the utilities in misc don't work unless they're in the PATH
export PATH=$mdkLOCALROOT/cd1/misc:$PATH

# generate the dependance files

rm -f $mdkLOCALROOT/cd1/Mandrake/base/{hdlists,hdlist.cz2}
./misc/genhdlist_cz2 -o $mdkLOCALROOT/cd1/Mandrake/base/hdlist1.cz
$mdkLOCALROOT/cd1/Mandrake/RPMS
echo "hdlist1.cz     Mandrake/RPMS  CD1 Installation CD" >
$mdkLOCALROOT/cd1/Mandrake/base/hdlists

rm -f $mdkLOCALROOT/cd1/Mandrake/base/hdlist2.cz2
./misc/genhdlist_cz2 -o $mdkLOCALROOT/cd1/Mandrake/base/hdlist2.cz
$mdkLOCALROOT/cd2/Mandrake/RPMS2
echo "hdlist2.cz     Mandrake/RPMS2  CD2 Extension CD" >>
mdkLOCALROOT/cd1/Mandrake/base/hdlists

rm -f $mdkLOCALROOT/cd1/Mandrake/base/{depslist,deplist.ordered,filelist}
./misc/genbasefiles $mdkLOCALROOT/cd1/Mandrake/base/
$mdkLOCALROOT/cd1/Mandrake/base/hdlist1.cz
$mdkLOCALROOT/cd1/Mandrake/base/hdlist2.cz

#./misc/usr/bin/genfilelist $mdkLOCALROOT/cd1/Mandrake/RPMS
$mdkLOCALROOT/cd2/Mandrake/RPMS2 #> $mdkLOCALROOT/cd1/Mandrake/base/filelist

# order the hdlist with the depslist to get faster accesses
./misc/genhdlist_cz2 --noclean --ordered-depslist
Mandrake/base/depslist.ordered \
        -o Mandrake/base/hdlist1.cz $mdkLOCALROOT/cd1/Mandrake/RPMS \
        -o $mdkLOCALROOT/cd2/Mandrake/base/hdlist2.cz Mandrake/RPMS2

# create the first iso image (Main Installation CD)
mkisofs -J -r \
  -o $mdkISO1DIR/Cooker-CD1.iso \
  -b images/all.img \
  -c images/boot.cat \
  $mdkLOCALROOT/images \
  $mdkLOCALROOT/cd1

# create the second iso image (Extensions CD)
mkisofs -J -r \
  -o $mdkISO2DIR/Cooker-CD2.iso \
  $mdkLOCALROOT/cd2

# burn the main CD
# the values for cd-writer speed and the scsi-bus target/lun must be set
# according to your local settings
#cd $mdkISO1DIR
#cdrecord -eject -v -data speed=4 dev=4,0 Cooker-CD1.iso

# the first CD comes out the CD-writer and the script comes out at the
# place where your second image file is - ready to perform
# 'cdrecor
#cd $mdkISO2DIR
#cdrecord -eject -v -data speed=4 dev=4,0 Cooker-CD2.iso



> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Xuedong Zhang
> Sent: Friday, December 15, 2000 5:38 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [Cooker] Re: iso image files
>
>
> I am just trying to generate the iso by myself using 72beta script.
> The problem is that seems there is some packages list not matched
> in file rpmslist
>
> For example: qt2 -> libqt2 , and so on
> how do you deal with it?
>
> On Fri,
> 15 Dec 2000, Chris Young wrote:
>
> > I agree that it would be better that way.  in fact, I thought there was
> > supposed to be a current Cooker ISO set available on linuxberg, but I
> > couldn't find it.  I just took the script from the 7.2beta and
> modified it
> > to fit my needs.  It would seem that the mirror could just kick
> off the same
> > script via cron then there would always be a current cooker iso set.
> >
> > just my $.02
> > Chris
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of pablito
> > > Sent: Friday, December 15, 2000 2:00 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: [Cooker] Re: iso image files
> > >
> > >
> > > That's really nice.  I wonder where you could post them.  Now
> that I think
> > > of it, it is a chore to post files that large.  I was mainly
> asking if any
> > > of the official mirror sites were going to run off iso files and
> > > post them.
> > > Seems logical, since they already have the files and don't have
> > > to send them
> > > anywhere.  The disk space the internet server allots me is
> about enough to
> > > post the enlightenment rpm and that's about it.
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: Xuedong Zhang <[EMAIL PROTECTED]>
> > > To: Chris Young <[EMAIL PROTECTED]>
> > > Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> > > Date: Friday, December 15, 2000 10:43 AM
> > > Subject: RE: [Cooker] Re: iso image files
> > >
> > >
> > > >If you post is somewhere, could you let me know.
> > > >Thanks.
> > > >
> > > >On Fri, 15 Dec 2000, Chris Young wrote:
> > > >
> > > >> Pablito,
> > > >>
> > > >> I made a set of ISO files from the Dec 9th fileset.  It's not
> > > the newest,
> > > >> but if you want I can probably post them someplace for you.
> > > >>
> > > >> Chris
> > > >>
> > > >> > -----Original Message-----
> > > >> > From: [EMAIL PROTECTED]
> > > >> > [mailto:[EMAIL PROTECTED]]On Behalf Of pablito
> > > >> > Sent: Friday, December 15, 2000 11:35 AM
> > > >> > To: [EMAIL PROTECTED]
> > > >> > Subject: [Cooker] Re: iso image files
> > > >> >
> > > >> >
> > > >> > Is anyone posting cooker iso files anywhere?  I only have a
> > > slow T-line
> > > >> > connection (about 300kbs) and it's very difficult to
> download all of
> > > the
> > > >> > individual files and keep them all matched up so that
> they install
> > > >> > correctly.  It would be really helpful to post these iso
> files, maybe
> > > even
> > > >> > weekly ones, so that people like me who are just
> beginning to figure
> > > Linux
> > > >> > out can see what the new version's like.
> > > >> >
> > > >> >
> > > >> >
> > > >> >
> > > >> >
> > > >>
> > > >>
> > > >>
> > > >
> > > >--
> > > >Xuedong Zhang
> > > >-----------office: (617)353-9148-------------
> > > >Cummington St. 44/BME, Boston 02215, MA USA
> > > >--- [EMAIL PROTECTED]    http://hello.to/xuedong ---
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> >
> >
> >
>
> --
> Xuedong Zhang
> -----------office: (617)353-9148-------------
> Cummington St. 44/BME, Boston 02215, MA USA
> --- [EMAIL PROTECTED]    http://hello.to/xuedong ---
>
>
>
>


Reply via email to