/[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.44 by jpp, Mon Jun 15 04:27:12 2020 UTC Revision 1.47 by jpp, Sun Apr 28 18:53:34 2024 UTC
# Line 16  then Line 16  then
16      exit 1      exit 1
17  fi  fi
18    
19    sudo chmod g+w $(pwd)/$distarch/{images,repodata,repoview,LiveOS}
20  for img in product updates EFI  for img in product updates EFI
21  do  do
22      if [ "$distrel" == "10" -a "$img" = "updates" ]      if [ -d "$(pwd)/$distarch/$img" -a "$img" = "product" ]
23      then      then
24          echo "SME10 do nothing with updates.img, yet"          echo "building product.img"
25            pushd $(pwd)/$distarch/$img
26            find . | cpio -c -o | gzip -9cv > ../images/$img.img;
27            popd
28            sudo chmod 664 $(pwd)/$distarch/images/$img.img
29    #       echo "SME10 do nothing with updates.img, yet"
30      elif [ -d "$(pwd)/$distarch/$img" -a "$img" = "EFI" ]      elif [ -d "$(pwd)/$distarch/$img" -a "$img" = "EFI" ]
31      then      then
32          echo "building efiboot.img"          echo "building efiboot.img"
33          # the content of the img should be /EFI/BOOT* and not /BOOT/*, so we need to copy the content in a temp dir          # the content of the img should be /EFI/BOOT* and not /BOOT/*, so we need to copy the content in a temp dir
34          sudo mount -o loop  $(pwd)/$distarch/efiboot.img /tmp/loop          mkdir -p /tmp/{loop,remaster}
35            sudo mount -o loop  $(pwd)/$distarch/images/efiboot.img /tmp/loop
36          sudo cp -a $(pwd)/$distarch/EFI/BOOT/grub.cfg /tmp/loop/EFI/BOOT/          sudo cp -a $(pwd)/$distarch/EFI/BOOT/grub.cfg /tmp/loop/EFI/BOOT/
37          sudo umount /tmp/loop          sudo umount /tmp/loop
38  #        sudo rm -rf /tmp/efiboot  #        sudo rm -rf /tmp/efiboot
# Line 202  zsyncmake -u $disttag-$distvers-$distarc Line 209  zsyncmake -u $disttag-$distvers-$distarc
209  mv ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso ../iso/$distrel/$distarch/$disttag-$distarch.iso  mv ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso ../iso/$distrel/$distarch/$disttag-$distarch.iso
210  ln -sf $disttag-$distarch.iso ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso  ln -sf $disttag-$distarch.iso ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso
211  # for netinstall  # for netinstall
212  md5sum ../iso/$distrel/$distarch/$disttag-$distvers-$distarch-netinstall.iso | sed 's,\.\..*/,,' > ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso.md5sum  md5sum ../iso/$distrel/$distarch/$disttag-$distvers-$distarch-netinstall.iso | sed 's,\.\..*/,,' > ../iso/$distrel/$distarch/$disttag-$distvers-$distarch-netinstall.iso.md5sum
213  sha1sum ../iso/$distrel/$distarch/$disttag-$distvers-$distarch-netinstall.iso | sed 's,\.\..*/,,' > ../iso/$distrel/$distarch/$disttag-$distvers-$distarch.iso.sha1sum  sha1sum ../iso/$distrel/$distarch/$disttag-$distvers-$distarch-netinstall.iso | sed 's,\.\..*/,,' > ../iso/$distrel/$distarch/$disttag-$distvers-$distarch-netinstall.iso.sha1sum
214    
215    
216  rsync -a --delete --delete-excluded \  rsync -a --delete --delete-excluded \


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