summaryrefslogtreecommitdiff
path: root/archiso/mkarchiso
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-08-29 01:47:57 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-08-29 01:47:57 -0300
commit14743f4202eeffca4d80105c7e7ad91bc0af4e88 (patch)
tree6fbf1a5e30ffe5db22da6909043a4ec1be7e9774 /archiso/mkarchiso
parent48023e336bc95bda974f1e772e209dc07f3b1e05 (diff)
downloadarchiso32-14743f4202eeffca4d80105c7e7ad91bc0af4e88.tar.xz
[archiso] Switch from cdrkit to libisoburn
* Preparing terrain for UEFI support. * Also make isohybrid hack in one step. * Removed UDF layer, since xorriso does not support it. * Removed unsupported options by xorriso (-uid/-gid/-allow-limited-size) * Removed option already default in xorriso (-input-charset utf-8) Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'archiso/mkarchiso')
-rwxr-xr-xarchiso/mkarchiso12
1 files changed, 7 insertions, 5 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index bd8b7a9..6fb5d06 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -313,6 +313,9 @@ command_iso () {
if [[ ! -f "${work_dir}/iso/isolinux/isolinux.bin" ]]; then
_msg_error "The file '${work_dir}/iso/isolinux/isolinux.bin' does not exist." 1
fi
+ if [[ ! -f "${work_dir}/iso/isolinux/isohdpfx.bin" ]]; then
+ _msg_error "The file '${work_dir}/iso/isolinux/isohdpfx.bin' does not exist." 1
+ fi
_show_config iso
@@ -323,17 +326,16 @@ command_iso () {
if [[ ${quiet} == "y" ]]; then
_qflag="-quiet"
fi
- mkisofs ${_qflag} -r -l \
+ xorriso -as mkisofs ${_qflag} -r -l \
-b isolinux/isolinux.bin -c isolinux/boot.cat \
- -uid 0 -gid 0 \
- -udf -allow-limited-size -iso-level 3 \
- -input-charset utf-8 -p "prepared by mkarchiso" \
+ -iso-level 3 \
-no-emul-boot -boot-load-size 4 -boot-info-table \
+ -isohybrid-mbr ${work_dir}/iso/isolinux/isohdpfx.bin \
+ -p "prepared by mkarchiso" \
-publisher "${iso_publisher}" \
-A "${iso_application}" \
-V "${iso_label}" \
-o "${out_dir}/${img_name}" "${work_dir}/iso/"
- isohybrid "${out_dir}/${img_name}"
_msg_info "Done! | $(ls -sh ${out_dir}/${img_name})"
fi
}