New -as mkisofs options -jigdo-* and -md5-list as of genisoimage

This commit is contained in:
2010-09-29 09:24:20 +00:00
parent ea0b38d44c
commit c35834e0c1
13 changed files with 239 additions and 5 deletions

View File

@ -25,6 +25,11 @@
#include <errno.h>
#include <fcntl.h>
#include <stdint.h>
#ifdef Xorriso_with_libjtE
#include <libjte/libjte.h>
#endif
#include "xorriso.h"
#include "xorriso_private.h"
@ -138,6 +143,12 @@ no_track:;
} else if(padding < xorriso->alignment)
padding= xorriso->alignment;
}
#ifdef Xorriso_with_libjtE
if(xorriso->libjte_handle != NULL)
padding= 0; /* JTE : no multi-session, no_emul_toc, and no padding */
#endif /* ! Xorriso_with_libjtE */
burn_track_define_data(tracks[0], 0, padding * 2048, 0, BURN_MODE1);
Xorriso_process_msg_queues(xorriso,0);
@ -733,6 +744,19 @@ int Xorriso_write_session(struct XorrisO *xorriso, int flag)
xorriso->vol_expiration_time, xorriso->vol_effective_time,
xorriso->vol_uuid);
#ifdef Xorriso_with_libjtE
if(xorriso->libjte_handle) {
ret= libjte_set_outfile(xorriso->libjte_handle, xorriso->outdev);
if(ret <= 0)
goto ex;
/* >>> Check whether the mandatory parameters are set */;
isoburn_igopt_attach_jte(sopts, xorriso->libjte_handle);
}
#endif /* Xorriso_with_libjtE */
/* Make final abort check before starting expensive activities */
ret= Xorriso_eval_problem_status(xorriso, 1, 0);
if(ret<0)