Merge pull request #556 from paride/inject-edge-ppc64

inject-subiquity-snap: add support for ppc64 iso images
This commit is contained in:
Michael Hudson-Doyle 2019-10-08 22:13:31 +13:00 committed by GitHub
commit 74ab6eb1cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -201,3 +201,12 @@ if [ -e new_iso/boot/ubuntu.ikr ]; then
-b boot/ubuntu.ikr -no-emul-boot \ -b boot/ubuntu.ikr -no-emul-boot \
new_iso/boot new_iso new_iso/boot new_iso
fi fi
if [ -e new_iso/boot/grub/powerpc.elf ]; then
xorriso -as mkisofs -r -checksum_algorithm_iso md5,sha1 \
-V Ubuntu\ custom\ amd64 \
-o "${NEW_ISO}" \
-cache-inodes -J -l \
-chrp-boot-part \
new_iso/boot new_iso
fi