/[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.1 by gordonr, Mon Oct 10 03:15:53 2005 UTC Revision 1.4 by gordonr, Fri Jun 30 23:01:26 2006 UTC
# Line 27  done Line 27  done
27  [ -d cdrom.image ] || (echo "No cdrom.image directory?"; exit 1)  [ -d cdrom.image ] || (echo "No cdrom.image directory?"; exit 1)
28    
29  distname='SME Server'  distname='SME Server'
30    disttag='smeserver'
31  distvers=$(basename $(pwd))  distvers=$(basename $(pwd))
32    
33  [ -f cdrom.image/updates/anaconda ] && chmod a+rx cdrom.image/updates/anaconda  [ -f cdrom.image/updates/anaconda ] && chmod a+rx cdrom.image/updates/anaconda
# Line 53  PYTHONPATH=/usr/lib/anaconda/ /usr/lib/a Line 54  PYTHONPATH=/usr/lib/anaconda/ /usr/lib/a
54          --fileorder pkgorder \          --fileorder pkgorder \
55          $(pwd)/cdrom.image/          $(pwd)/cdrom.image/
56    
57  rm -f smeserver-$distvers.iso smeserver.iso  rm -f $disttag-$distvers.iso smeserver.iso
58    
59  cd cdrom.image  cd cdrom.image
60    
# Line 73  mkisofs $mkisopts \ Line 74  mkisofs $mkisopts \
74          -no-emul-boot -boot-load-size 4 -boot-info-table \          -no-emul-boot -boot-load-size 4 -boot-info-table \
75          -x lost+found \          -x lost+found \
76          -x CVS \          -x CVS \
77          -o "../smeserver-$distvers".iso \          -o "../$disttag-$distvers".iso \
78          .          .
79    
80  cd ..  cd ..
81  /usr/lib/anaconda-runtime/implantisomd5 smeserver-$distvers.iso  /usr/lib/anaconda-runtime/implantisomd5 $disttag-$distvers.iso
82  md5sum smeserver-$distvers.iso > smeserver-$distvers.iso.md5sum  dd if=/dev/zero bs=2048 count=150 >> $disttag-$distvers.iso
83  ls -lRt > smeserver-$distvers.iso.ls-lRt  md5sum $disttag-$distvers.iso > $disttag-$distvers.iso.md5sum
84  zsyncmake smeserver-$distvers.iso  ls -lRt > $disttag-$distvers.iso.ls-lRt
85  mv smeserver-$distvers.iso smeserver.iso  zsyncmake $disttag-$distvers.iso
86  ln -sf smeserver.iso smeserver-$distvers.iso  mv $disttag-$distvers.iso $disttag.iso
87    ln -sf $disttag.iso $disttag-$distvers.iso
88    
89    echo "Building SRPMS ISO"
90    
91    mkisofs $mkisopts \
92            -V "$distname $distvers SRPMS" \
93            -A "$distname SRPMS created on $today" \
94            -x lost+found \
95            -x CVS \
96            -x cdrom.image \
97            -o "$disttag-$distvers-SRPMS".iso \
98            --graft-points \
99            ./SRPMS=SRPMS \
100            GPL=cdrom.image/GPL \
101            RPM-GPG-KEY=cdrom.image/RPM-GPG-KEY \
102            RPM-GPG-KEY-centos4=cdrom.image/RPM-GPG-KEY-centos4 \
103            RPM-GPG-KEY-SMEServer7=cdrom.image/RPM-GPG-KEY-SMEServer7
104    
105  # That's it.  # That's it.
106    


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