File tree 1 file changed +15
-15
lines changed
1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -251,29 +251,29 @@ EOF
251
251
252
252
sudo /bin/bash -c " (find . -type f -print0 | xargs -0 md5sum | grep -v -e 'md5sum.txt' -e 'bios.img' -e 'efiboot.img' > md5sum.txt)"
253
253
254
- sudo xorriso
255
- -as mkisofs
256
- -r \
257
- -volid " ${TARGET_NAME} " \
254
+ sudo xorriso \
255
+ -as mkisofs \
256
+ -iso-level 3 \
258
257
-full-iso9660-filenames \
259
- -J -J -joliet-long \
260
- -output " $SCRIPT_DIR /$TARGET_NAME .iso" \
261
- --grub2-mbr /usr/lib/grub/i386-pc/boot_hybrid.img \
262
- -partition_offset 16 \
263
- --mbr-force-bootable \
264
- -append_partition 2 28732ac11ff8d211ba4b00a0c93ec93b isolinux/efiboot.img \
265
- -appended_part_as_gpt \
266
- -iso_mbr_part_type a2a0d0ebe5b9334487c068b6b72699c7 \
267
- -eltorito-boot isolinux/bios.img \
258
+ -volid " $TARGET_NAME " \
259
+ -eltorito-boot boot/grub/bios.img \
268
260
-no-emul-boot \
269
261
-boot-load-size 4 \
270
262
-boot-info-table \
271
263
--eltorito-catalog boot/grub/boot.cat \
272
264
--grub2-boot-info \
265
+ --grub2-mbr /usr/lib/grub/i386-pc/boot_hybrid.img \
273
266
-eltorito-alt-boot \
274
- -e ' --interval:appended_partition_2::: ' \
267
+ -e EFI/efiboot.img \
275
268
-no-emul-boot \
276
- " ."
269
+ -append_partition 2 0xef isolinux/efiboot.img \
270
+ -output " $SCRIPT_DIR /$TARGET_NAME .iso" \
271
+ -m " isolinux/efiboot.img" \
272
+ -m " isolinux/bios.img" \
273
+ -graft-points \
274
+ " /EFI/efiboot.img=isolinux/efiboot.img" \
275
+ " /boot/grub/bios.img=isolinux/bios.img" \
276
+ " ."
277
277
278
278
popd
279
279
}
You can’t perform that action at this time.
0 commit comments