/[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.6 by slords, Sat Dec 2 17:19:10 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    rm -f $disttag-SRPMS.iso $disttag-$distvers-SRPMS.iso
92    
93    mkisofs $mkisopts \
94            -V "$distname $distvers SRPMS" \
95            -A "$distname SRPMS created on $today" \
96            -x lost+found \
97            -x CVS \
98            -x cdrom.image \
99            -o "$disttag-$distvers-SRPMS".iso \
100            --graft-points \
101            ./SRPMS=SRPMS \
102            GPL=cdrom.image/GPL \
103            RPM-GPG-KEY=cdrom.image/RPM-GPG-KEY \
104            RPM-GPG-KEY-centos4=cdrom.image/RPM-GPG-KEY-centos4 \
105            RPM-GPG-KEY-SMEServer7=cdrom.image/RPM-GPG-KEY-SMEServer7
106    
107    md5sum $disttag-$distvers-SRPMS.iso > $disttag-$distvers-SRPMS.iso.md5sum
108    zsyncmake $disttag-$distvers-SRPMS.iso
109    mv $disttag-$distvers-SRPMS.iso $disttag-SRPMS.iso
110    ln -sf $disttag-SRPMS.iso $disttag-$distvers-SRPMS.iso
111    
112  # That's it.  # That's it.
113    


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