/[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.4 by gordonr, Fri Jun 30 23:01:26 2006 UTC Revision 1.9 by slords, Sat Apr 14 21:21:22 2007 UTC
# Line 32  distvers=$(basename $(pwd)) Line 32  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
34    
 chmod -R a+rX cdrom.image  
   
35  for img in product updates  for img in product updates
36  do  do
37          /usr/bin/mkcramfs \          /usr/bin/mkcramfs \
# Line 58  rm -f $disttag-$distvers.iso smeserver.i Line 56  rm -f $disttag-$distvers.iso smeserver.i
56    
57  cd cdrom.image  cd cdrom.image
58    
 yum-arch .  
59  createrepo .  createrepo .
60    repoview .
61    
62  bootimg='isolinux/isolinux.bin'  bootimg='isolinux/isolinux.bin'
63  bootcat='isolinux/boot.cat'  bootcat='isolinux/boot.cat'
# Line 88  ln -sf $disttag.iso $disttag-$distvers.i Line 86  ln -sf $disttag.iso $disttag-$distvers.i
86    
87  echo "Building SRPMS ISO"  echo "Building SRPMS ISO"
88    
89    rm -f $disttag-SRPMS.iso $disttag-$distvers-SRPMS.iso
90    
91  mkisofs $mkisopts \  mkisofs $mkisopts \
92          -V "$distname $distvers SRPMS" \          -V "$distname $distvers SRPMS" \
93          -A "$distname SRPMS created on $today" \          -A "$distname SRPMS created on $today" \
# Line 102  mkisofs $mkisopts \ Line 102  mkisofs $mkisopts \
102          RPM-GPG-KEY-centos4=cdrom.image/RPM-GPG-KEY-centos4 \          RPM-GPG-KEY-centos4=cdrom.image/RPM-GPG-KEY-centos4 \
103          RPM-GPG-KEY-SMEServer7=cdrom.image/RPM-GPG-KEY-SMEServer7          RPM-GPG-KEY-SMEServer7=cdrom.image/RPM-GPG-KEY-SMEServer7
104    
105    md5sum $disttag-$distvers-SRPMS.iso > $disttag-$distvers-SRPMS.iso.md5sum
106    zsyncmake $disttag-$distvers-SRPMS.iso
107    mv $disttag-$distvers-SRPMS.iso $disttag-SRPMS.iso
108    ln -sf $disttag-SRPMS.iso $disttag-$distvers-SRPMS.iso
109    
110  # That's it.  # That's it.
111    


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