/[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.24 by slords, Sat Sep 13 01:26:40 2008 UTC Revision 1.28 by slords, Mon Jun 22 16:46:16 2009 UTC
# Line 19  for img in product updates Line 19  for img in product updates
19  do  do
20      if [ "$distrel" == "7" ]      if [ "$distrel" == "7" ]
21      then      then
22            rm -f $(pwd)/$distarch/SME/base/comps.rpm
23            cp -al $(pwd)/$distarch/SME/RPMS/comps-*.rpm $(pwd)/$distarch/SME/base/comps.rpm
24          /usr/bin/mkcramfs \          /usr/bin/mkcramfs \
25          $(pwd)/$distarch/$img \          $(pwd)/$distarch/$img \
26          $(pwd)/$distarch/SME/base/$img.img          $(pwd)/$distarch/SME/base/$img.img
# Line 52  then Line 54  then
54  fi  fi
55    
56  rm -f ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso ../iso/$distrel/$distarch/$disttag.iso  rm -f ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso ../iso/$distrel/$distarch/$disttag.iso
57    rm -f ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.jigdo ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.template
58    
59  if [ "$distrel" == "7" ]  if [ "$distrel" == "7" ]
60  then  then
# Line 79  mkisofs $mkisopts \ Line 82  mkisofs $mkisopts \
82    
83  /usr/lib/anaconda-runtime/implantisomd5 ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso  /usr/lib/anaconda-runtime/implantisomd5 ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso
84  dd if=/dev/zero bs=2048 count=150 >> ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso  dd if=/dev/zero bs=2048 count=150 >> ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso
85  md5sum ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso > ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso.md5sum  md5sum ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso | sed 's,\.\..*/,,' > ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso.md5sum
86  sha1sum ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso > ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso.sha1sum  sha1sum ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso | sed 's,\.\..*/,,' > ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso.sha1sum
87  zsyncmake -u $disttag-$distvers-$distarch.iso -o ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso.zsync ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso  zsyncmake -u $disttag-$distvers-$distarch.iso -o ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso.zsync ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso
88  mv ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso ../iso/$distrel/$distarch/$disttag.iso  mv ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso ../iso/$distrel/$distarch/$disttag.iso
89  ln -sf $disttag.iso ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso  ln -sf $disttag.iso ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso
90    
91  rsync -a --delete --delete-excluded \  rsync -a --delete --delete-excluded \
92      --exclude 'repodata/' --exclude 'product/' --exclude 'updates/' \      --exclude 'repodata/' --exclude 'product/' --exclude 'updates/' --exclude 'repoview/' \
93      --exclude 'lost+found/' --exclude 'CVS/' --exclude 'buildinstall.tree.*/' \      --exclude 'lost+found/' --exclude 'CVS/' --exclude 'buildinstall.tree.*/' \
94      --link-dest=../$distarch/ $distarch/ $distarch.jigdo/      --link-dest=../$distarch/ $distarch/ $distarch.jigdo/
95  jigdo-file make-template --force \  jigdo-file make-template --force \
# Line 112  then Line 115  then
115          GPL=$distarch/GPL \          GPL=$distarch/GPL \
116          RPM-GPG-KEY-SMEServer=$distarch/RPM-GPG-KEY-SMEServer          RPM-GPG-KEY-SMEServer=$distarch/RPM-GPG-KEY-SMEServer
117    
118      md5sum ../iso/$distrel/source/$disttag-$distvers-SRPMS.iso > ../iso/$distrel/source/$disttag-$distvers-SRPMS.iso.md5sum      md5sum ../iso/$distrel/source/$disttag-$distvers-SRPMS.iso | sed 's,\.\..*/,,' > ../iso/$distrel/source/$disttag-$distvers-SRPMS.iso.md5sum
119      sha1sum ../iso/$distrel/source/$disttag-$distvers-SRPMS.iso > ../iso/$distrel/source/$disttag-$distvers-SRPMS.iso.sha1sum      sha1sum ../iso/$distrel/source/$disttag-$distvers-SRPMS.iso | sed 's,\.\..*/,,' > ../iso/$distrel/source/$disttag-$distvers-SRPMS.iso.sha1sum
120      zsyncmake -u $disttag-$distvers-SRPMS.iso -o ../iso/$distrel/source/$disttag-$distvers-SRPMS.iso.zsync ../iso/$distrel/source/$disttag-$distvers-SRPMS.iso      zsyncmake -u $disttag-$distvers-SRPMS.iso -o ../iso/$distrel/source/$disttag-$distvers-SRPMS.iso.zsync ../iso/$distrel/source/$disttag-$distvers-SRPMS.iso
121      mv ../iso/$distrel/source/$disttag-$distvers-SRPMS.iso ../iso/$distrel/source/$disttag-SRPMS.iso      mv ../iso/$distrel/source/$disttag-$distvers-SRPMS.iso ../iso/$distrel/source/$disttag-SRPMS.iso
122      ln -sf $disttag-SRPMS.iso ../iso/$distrel/source/$disttag-$distvers-SRPMS.iso      ln -sf $disttag-SRPMS.iso ../iso/$distrel/source/$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