/[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.43 by jpp, Sun Jun 14 05:54:37 2020 UTC Revision 1.46 by jpp, Mon Jun 15 04:40:42 2020 UTC
# Line 25  do Line 25  do
25      then      then
26          echo "building efiboot.img"          echo "building efiboot.img"
27          # 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
28          sudo rm -rf /tmp/efiboot          mkdir -p /tmp/{loop,remaster}
29          mkdir -p /tmp/efiboot          sudo mount -o loop  $(pwd)/$distarch/images/efiboot.img /tmp/loop
30          cp -a $(pwd)/$distarch/$img /tmp/efiboot          sudo cp -a $(pwd)/$distarch/EFI/BOOT/grub.cfg /tmp/loop/EFI/BOOT/
31          /sbin/mksquashfs \          sudo umount /tmp/loop
32              /tmp/efiboot \  #        sudo rm -rf /tmp/efiboot
33              $(pwd)/$distarch/images/efiboot.img \  #        mkdir -p /tmp/efiboot
34              -all-root -no-fragments -noappend  #        cp -a $(pwd)/$distarch/$img /tmp/efiboot
35          sudo chmod 664 $(pwd)/$distarch/images/efiboot.img  #        /sbin/mksquashfs \
36          sudo rm -rf /tmp/efiboot  #            /tmp/efiboot \
37    #            $(pwd)/$distarch/images/efiboot.img \
38    #            -all-root -no-fragments -noappend
39    #        sudo chmod 664 $(pwd)/$distarch/images/efiboot.img
40    #        sudo rm -rf /tmp/efiboot
41      elif [ -d "$(pwd)/$distarch/$img" ]      elif [ -d "$(pwd)/$distarch/$img" ]
42      then      then
43          echo "building $img.img...."          echo "building $img.img...."
# Line 68  today="$(date '+%d %b %Y')" Line 72  today="$(date '+%d %b %Y')"
72  if [ "$distrel" == "10" ]  if [ "$distrel" == "10" ]
73  then  then
74  #Caton  #Caton
 #xorriso -as mkisofs -isohybrid-mbr isolinux/isohdpfx.bin \  
 #-c isolinux/boot.cat -b isolinux/isolinux.bin  
 #-no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot \  
 #-e images/efiboot.img -no-emul-boot \  
 #-isohybrid-gpt-basdat \  
 #-o ../custom-SME10.iso .  
 # in fact it is :  
75  #xorriso -as mkisofs \  #xorriso -as mkisofs \
76  #-o ../custom-SME10.iso \  #-o ../custom-SME10.iso \
77  #-V "SME Server" \  #-V "SME Server" \
# Line 91  then Line 88  then
88  #-isohybrid-gpt-basdat \  #-isohybrid-gpt-basdat \
89  #-R -J -v -T .  #-R -J -v -T .
90    
91  /usr/bin/xorriso -as mkisofs -isohybrid-mbr  /usr/share/syslinux/isohdpfx.bin \  /usr/bin/xorriso -as mkisofs  -isohybrid-mbr  /usr/share/syslinux/isohdpfx.bin \
92      $mkisopts -joliet-long \      $mkisopts  -joliet-long \
93      -V "$distname" \      -V "$distname" \
94      -A "$distname" \      -A "$distname" \
95      -volset "$distname" \      -volset "$distname" \
# Line 141  then Line 138  then
138    
139          echo "building efiboot.img for netinstall"          echo "building efiboot.img for netinstall"
140          # 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
141          sudo rm -rf /tmp/remaster/efiboot  #        sudo rm -rf /tmp/remaster/efiboot
142          mkdir -p /tmp/remaster/efiboot          sudo mount -o loop  /tmp/remaster/efiboot.img /tmp/loop
143          cp -a /tmp/remaster/EFI $(pwd)/$distarch/efiboot          sudo cp -a /tmp/remaster/EFI/BOOT/grub.cfg /tmp/loop/EFI/BOOT/
144          /sbin/mksquashfs \          sudo umount /tmp/loop
145              /tmp/remaster/efiboot \  #        mkdir -p /tmp/remaster/efiboot
146              /tmp/remaster/images/efiboot.img \  #        cp -a /tmp/remaster/EFI $(pwd)/$distarch/efiboot
147              -all-root -no-fragments -noappend  #        /sbin/mksquashfs \
148    #            /tmp/remaster/efiboot \
149    #            /tmp/remaster/images/efiboot.img \
150    #            -all-root -no-fragments -noappend
151          sudo chmod 664 /tmp/remaster/images/efiboot.img          sudo chmod 664 /tmp/remaster/images/efiboot.img
152          sudo rm -rf /tmp/remaster/efiboot  #        sudo rm -rf /tmp/remaster/efiboot
153          #rebuild iso for netinstall          #rebuild iso for netinstall
154    
155          /usr/bin/xorriso -as mkisofs -isohybrid-mbr  /usr/share/syslinux/isohdpfx.bin \  #       /usr/bin/xorriso -as mkisofs -isohybrid-mbr  /usr/share/syslinux/isohdpfx.bin \
156           /usr/bin/xorriso -as mkisofs \
157          $mkisopts -joliet-long \          $mkisopts -joliet-long \
158          -V "$distname" \          -V "$distname" \
159          -A "$distname" \          -A "$distname" \


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