Can I generate Installation DVD from Development repository

Bruno Wolff III bruno at wolff.to
Sat Mar 3 06:43:43 UTC 2007


On Sat, Mar 03, 2007 at 10:17:38 +0800,
  Hikaru Amano <kagesenshi.87 at gmail.com> wrote:
> I'm trying to get Fedora 7 Test 2 from http mirrors (I'm inside my
> university LAN which only allow port 80 & 443 outbound, so torrent is
> a no go) ..  but all of them that i've checked and have the F7T2 DVD
> does not reply the size of the file in the request thus making
> resuming not working - bad for unstable internet  .. and
> download.redhat.fedora.com does not host the Prime DVD ..
> 
> However, I do have a mirror of the development and extras-development
> repository in my server in the LAN (mirrored together with the core,
> updates,extras and livna repos - for use by me and my friends) .. Is
> there any way for me to generate the installation DVD from that
> mirror?? .. upgrading through yum is dependency hell considering I'm
> using 3rd party repo ..
> 
> Or anybody have a better suggestion besides this?

I do this by creating a fudged .discinfo file containing the following:
1170104239.562016
Fedora 6.90
i386
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
Fedora/base
/srv/pungi/20070129.1/6.90/Desktop/i386/os/Fedora
Fedora/pixmaps

and then run the following to make an install DVD with all of the packages
currently in core:
#!/bin/sh

publisher="Bruno Wolff III"
release="7"

##############################################################################

export FCBASE=`pwd`
arch=`uname -i`
date=`date +%Y%m%d`

mkdir -p $FCBASE/$arch
rsync --archive  $FCBASE/core/ $FCBASE/$arch
repomanage --old i386/Fedora/RPMS | xargs rm -f
cp $FCBASE/.discinfo $FCBASE/$arch

find $arch -name "TRANS.TBL" -exec rm -f {} \;
mkisofs -q -r -R -J -T -no-emul-boot -boot-load-size 4 \
  -b isolinux/isolinux.bin -c isolinux/boot.cat -boot-info-table \
  -V "FC $release update$date $arch DVD" \
  -A "Fedora Core $release update$date $arch DVD" \
  -publisher "$publisher" -p "$publisher" -x lost+found \
  -o FC-$release-update$date-$arch-DVD.iso $arch

You might also be able to just use the boot.iso and custom repositories,
but I don't know how to do that.




More information about the fedora-list mailing list