Can xorrisofs be replaced with xorriso?

xorriso -as mkisofs (a.k.a. xorrisofs) is an "emulation of ISO 9660 program mkisofs by program xorriso".

It might be worth evaluating if mkarchiso's use of xorriso -as mkisofs can be replaced with just xorriso.

xorrisofs xorriso
-quiet -report_about SORRY
-iso-level 3
-joliet-long
-compliance iso_9660_level=3:joliet_long_names:joliet_long_paths
-full-iso9660-filenames implied by -compliance iso_9660_level=2 or
-compliance iso_9660_level=3
-joliet -joliet on
-rational-rock -uid 0 -gid 0 -chmod_r a=r / -- find / -type d -exec chmod a+x --
-volid "${iso_label}" -volid "${iso_label}"
-appid "${iso_application}" -application_id "${iso_application}"
-publisher "${iso_publisher}" -publisher "${iso_publisher}"
-preparer "prepared by ${app_name}" -preparer_id "prepared by ${app_name}"
-eltorito-boot isolinux/isolinux.bin -boot_image isolinux bin_path=/isolinux/isolinux.bin
-eltorito-catalog isolinux/boot.cat -boot_image any cat_path=/isolinux/boot.cat
-no-emul-boot -boot_image any emul_type=no_emulation (default)
-boot-load-size 4 -boot_image isolinux load_size=2048
-boot-info-table -boot_image any boot_info_table=on
-eltorito-boot isolinux/isolinux.bin
-eltorito-catalog isolinux/boot.cat
-boot-load-size 4
-boot-info-table
-boot_image isolinux dir=/isolinux
(alternative; the only accepted paths are /boot/isolinux and/isolinux)
-isohybrid-mbr "${isofs_dir}/isolinux/isohdpfx.bin" -boot_image isolinux system_area="${isofs_dir}/isolinux/isohdpfx.bin"
--mbr-force-bootable -boot_image any mbr_force_bootable="on"
-partition_offset 16 -boot_image any partition_offset=16
-iso_mbr_part_type 0FC63DAF-8483-4772-8E79-3D69D8477DE4 -boot_image any iso_mbr_part_type=0FC63DAF-8483-4772-8E79-3D69D8477DE4
-eltorito-alt-boot -boot_image any next
-e EFI/archiso/efiboot.img -boot_image any efi_path=EFI/archiso/efiboot.img
-append_partition 2 C12A7328-F81F-11D2-BA4B-00A0C93EC93B "${work_dir}/efiboot.img" -append_partition 2 C12A7328-F81F-11D2-BA4B-00A0C93EC93B "${work_dir}/efiboot.img"
-e --interval:appended_partition_2:all:: -boot_image any efi_path=--interval:appended_partition_2:all::
-appended_part_as_gpt -boot_image any appended_part_as=gpt
-no-emul-boot -boot_image any emul_type=no_emulation (default)
-isohybrid-gpt-basdat -boot_image isolinux partition_entry=gpt_basdat
-output "${out_dir}/${img_name}" -outdev "${out_dir}/${img_name}"
"${isofs_dir}/" -map "${isofs_dir}/" /
Edited by nl6720
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information