/[smeserver]/builds_bin/build_ISO
ViewVC logotype

Diff of /builds_bin/build_ISO

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.9 by slords, Sat Apr 14 21:21:22 2007 UTC Revision 1.10 by slords, Sat May 19 21:55:09 2007 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2    
 # Charlie Brady wrote on smeserver-developer:  
 # [I'm sure I've said this before, but ...] there's no new anaconda SRPM.  
 # The cdrom image I've been using comes directly from a CentOS one.  
   
 #  
 # What I've done is:  
 #  
 # - add CentOS/base/updates.img, made using mkcramfs from the updates directory  
 # - delete unwanted RPMs  
 # - add wanted RPMs  
 # - replace comps.xml  
 # - add install.cfg and update.cfg  
 # - edit isolinux/isolinux.cfg  
 #  
 # Run this in the a 7.0alphaXX directory, containing cdrom.image  
 # which contains the directory tree:  
   
   
 echo "Checking packages not installed in CentOS workstation group"  
 for package in anaconda anaconda-runtime bogl booty createrepo mkisofs zsync  
 do  
     rpm -q $package || exit "$package must be installed"  
 done  
   
3  [ -d cdrom.image ] || (echo "No cdrom.image directory?"; exit 1)  [ -d cdrom.image ] || (echo "No cdrom.image directory?"; exit 1)
4    
5  distname='SME Server'  distname='SME Server'
# Line 45  PYTHONPATH=/usr/lib/anaconda/ /usr/lib/a Line 21  PYTHONPATH=/usr/lib/anaconda/ /usr/lib/a
21    
22  PYTHONPATH=/usr/lib/anaconda/ /usr/lib/anaconda-runtime/pkgorder \  PYTHONPATH=/usr/lib/anaconda/ /usr/lib/anaconda-runtime/pkgorder \
23          $(pwd)/cdrom.image \          $(pwd)/cdrom.image \
24          i386 > pkgorder          $(uname -i) > pkgorder
25    
26  PYTHONPATH=/usr/lib/anaconda/ /usr/lib/anaconda-runtime/genhdlist \  PYTHONPATH=/usr/lib/anaconda/ /usr/lib/anaconda-runtime/genhdlist \
27          --withnumbers \          --withnumbers \
# Line 84  zsyncmake $disttag-$distvers.iso Line 60  zsyncmake $disttag-$distvers.iso
60  mv $disttag-$distvers.iso $disttag.iso  mv $disttag-$distvers.iso $disttag.iso
61  ln -sf $disttag.iso $disttag-$distvers.iso  ln -sf $disttag.iso $disttag-$distvers.iso
62    
63    [ -d SRPMS ] || (echo "No SRPMS directory?"; exit 1)
64    
65  echo "Building SRPMS ISO"  echo "Building SRPMS ISO"
66    
67  rm -f $disttag-SRPMS.iso $disttag-$distvers-SRPMS.iso  rm -f $disttag-SRPMS.iso $disttag-$distvers-SRPMS.iso
# Line 98  mkisofs $mkisopts \ Line 76  mkisofs $mkisopts \
76          --graft-points \          --graft-points \
77          ./SRPMS=SRPMS \          ./SRPMS=SRPMS \
78          GPL=cdrom.image/GPL \          GPL=cdrom.image/GPL \
79          RPM-GPG-KEY=cdrom.image/RPM-GPG-KEY \          RPM-GPG-KEY-SMEServer7=cdrom.image/RPM-GPG-KEY-SMEServer
         RPM-GPG-KEY-centos4=cdrom.image/RPM-GPG-KEY-centos4 \  
         RPM-GPG-KEY-SMEServer7=cdrom.image/RPM-GPG-KEY-SMEServer7  
80    
81  md5sum $disttag-$distvers-SRPMS.iso > $disttag-$distvers-SRPMS.iso.md5sum  md5sum $disttag-$distvers-SRPMS.iso > $disttag-$distvers-SRPMS.iso.md5sum
82  zsyncmake $disttag-$distvers-SRPMS.iso  zsyncmake $disttag-$distvers-SRPMS.iso


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed