Merge pull request #802 from mwhudson/inject-subiquity-snap-tweaks

clean up the xorriso arguments in inject-subiquity-snap a bit
This commit is contained in:
Michael Hudson-Doyle 2020-07-27 10:22:18 +12:00 committed by GitHub
commit 4ee279cbd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 12 deletions

View File

@ -182,31 +182,25 @@ mksquashfs new_installer new_iso/casper/installer.squashfs
if [ -e new_iso/boot/grub/efi.img ]; then
xorriso -as mkisofs -r -checksum_algorithm_iso md5,sha1 \
-V Ubuntu\ custom\ amd64 \
-o "${NEW_ISO}" \
-cache-inodes -J -l \
-V Ubuntu\ custom\ amd64 -o "${NEW_ISO}" -J -l \
-b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot \
-boot-load-size 4 -boot-info-table \
-eltorito-alt-boot -e boot/grub/efi.img -no-emul-boot \
-isohybrid-gpt-basdat -isohybrid-apm-hfsplus \
-isohybrid-mbr /usr/lib/ISOLINUX/isohdpfx.bin \
new_iso/boot new_iso
new_iso
fi
if [ -e new_iso/boot/ubuntu.ikr ]; then
xorriso -as mkisofs -r -checksum_algorithm_iso md5,sha1 \
-V Ubuntu\ custom\ s390x \
-o "${NEW_ISO}" \
-cache-inodes -J -l \
-V Ubuntu\ custom\ s390x -o "${NEW_ISO}" -J -l \
-b boot/ubuntu.ikr -no-emul-boot \
new_iso/boot new_iso
new_iso
fi
if [ -e new_iso/boot/grub/powerpc.elf ]; then
xorriso -as mkisofs -r -checksum_algorithm_iso md5,sha1 \
-V Ubuntu\ custom\ ppc64 \
-o "${NEW_ISO}" \
-cache-inodes -J -l \
-V Ubuntu\ custom\ ppc64 -o "${NEW_ISO}" -J -l \
-chrp-boot-part \
new_iso/boot new_iso
new_iso
fi