New -as mkisofs option -jigdo-template-compress

This commit is contained in:
Thomas Schmitt 2010-10-02 12:12:13 +00:00
parent 3bec7c5c77
commit 6f2aac75ce
6 changed files with 59 additions and 39 deletions

View File

@ -559,6 +559,8 @@ int Xorriso_genisofs_count_args(struct XorrisO *xorriso, int argc, char **argv,
"-hppa-bootloader", "-hppa-ramdisk", "-mips-boot", "-mipsel-boot", "-hppa-bootloader", "-hppa-ramdisk", "-mips-boot", "-mipsel-boot",
"-jigdo-jigdo", "-jigdo-template", "-jigdo-min-file-size", "-jigdo-jigdo", "-jigdo-template", "-jigdo-min-file-size",
"-jigdo-force-md5", "-jigdo-exclude", "-jigdo-map", "-md5-list", "-jigdo-force-md5", "-jigdo-exclude", "-jigdo-map", "-md5-list",
"-jigdo-template-compress",
"-checksum_algorithm_iso", "-checksum_algorithm_template",
"--stdio_sync", "--quoted_path_list", "--efi-boot", "--embedded-boot", "--stdio_sync", "--quoted_path_list", "--efi-boot", "--embedded-boot",
"-isohybrid-mbr", "-e", "-partition_offset", "-partition_hd_cyl", "-isohybrid-mbr", "-e", "-partition_offset", "-partition_hd_cyl",
"-partition_sec_hd", "-partition_sec_hd",
@ -615,6 +617,7 @@ int Xorriso_genisofs_ignore(struct XorrisO *xorriso, char *whom,
static char ignored_arg1_options[][41]= { static char ignored_arg1_options[][41]= {
"-check-session", "-hide-hfs", "-hide-hfs-list", "-root", "-check-session", "-hide-hfs", "-hide-hfs-list", "-root",
"-old-root", "-table-name", "-volset-seqno", "-volset-size", "-old-root", "-table-name", "-volset-seqno", "-volset-size",
"-checksum_algorithm_iso", "-checksum_algorithm_template",
"" ""
}; };
int k, idx_offset= 0; int k, idx_offset= 0;
@ -720,6 +723,8 @@ int Xorriso_genisofs_help(struct XorrisO *xorriso, int flag)
" -jigdo-map PATTERN1=PATTERN2", " -jigdo-map PATTERN1=PATTERN2",
" Pattern(s) to map paths (e.g. Debian=/mirror/debian)", " Pattern(s) to map paths (e.g. Debian=/mirror/debian)",
" -md5-list FILE File containing MD5 sums of the files that should be checked", " -md5-list FILE File containing MD5 sums of the files that should be checked",
" -jigdo-template-compress ALGORITHM",
" Choose to use gzip or bzip2 compression for template data; default is gzip",
" -b FILE, -eltorito-boot FILE", " -b FILE, -eltorito-boot FILE",
" Set El Torito boot image name", " Set El Torito boot image name",
" -eltorito-alt-boot Start specifying alternative El Torito boot parameters", " -eltorito-alt-boot Start specifying alternative El Torito boot parameters",
@ -1366,6 +1371,7 @@ is_unknown_option_2:;
strcmp(argv[i], "-jigdo-exclude") == 0 || strcmp(argv[i], "-jigdo-exclude") == 0 ||
strcmp(argv[i], "-jigdo-force-md5") == 0 || strcmp(argv[i], "-jigdo-force-md5") == 0 ||
strcmp(argv[i], "-jigdo-map") == 0 || strcmp(argv[i], "-jigdo-map") == 0 ||
strcmp(argv[i], "-jigdo-template-compress") == 0 ||
strcmp(argv[i], "-md5-list") == 0) { strcmp(argv[i], "-md5-list") == 0) {
i++; i++;
ret= Xorriso_option_jigdo(xorriso, argv[i - 1], argv[i], 0); ret= Xorriso_option_jigdo(xorriso, argv[i - 1], argv[i], 0);

View File

@ -600,7 +600,8 @@ int Xorriso_jigdo_interpreter(struct XorrisO *xorriso, char *aspect, char *arg,
ret= libjte_set_checksum_template(jte, arg); ret= libjte_set_checksum_template(jte, arg);
if(ret <= 0) if(ret <= 0)
goto jte_failed; goto jte_failed;
} else if(strcmp(aspect, "compression") == 0) { } else if(strcmp(aspect, "compression") == 0 ||
strcmp(aspect, "-jigdo-template-compress") == 0) {
ret= libjte_set_compression(jte, arg); ret= libjte_set_compression(jte, arg);
if(ret <= 0) if(ret <= 0)
goto jte_failed; goto jte_failed;

View File

@ -9,7 +9,7 @@
.\" First parameter, NAME, should be all caps .\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1) .\" other parameters are allowed: see man(7), man(1)
.TH XORRISO 1 "Sep 29, 2010" .TH XORRISO 1 "Oct 02, 2010"
.\" Please adjust this date whenever revising the manpage. .\" Please adjust this date whenever revising the manpage.
.\" .\"
.\" Some roff macros, for reference: .\" Some roff macros, for reference:
@ -2475,8 +2475,13 @@ Alias: -jigdo-force-md5
\fBmapping\fR adds a string pair of the form To=From to the parameter list. \fBmapping\fR adds a string pair of the form To=From to the parameter list.
The absolute disk_path of any file that will be listed in the .jigdo file will The absolute disk_path of any file that will be listed in the .jigdo file will
be checked whether it begins with the From string. If so, this string will be checked whether it begins with the From string. If so, this string will
be replaced by the To string and a ':' character. E.g. "Debian=/mirror/debian". be replaced by the To string and a ':' character. The From string should end
by a '/' character.
Alias: -jigdo-map Alias: -jigdo-map
.br
\fBcompression\fR chooses one of "bzip2" or "gzip" for the compression of
the template file. The jigdo file is put out uncompressed.
Alias: -jigdo-template-compress
.TP .TP
.B Character sets: .B Character sets:
.PP .PP

View File

@ -2199,8 +2199,11 @@ and padding.
list. The absolute disk_path of any file that will be listed in list. The absolute disk_path of any file that will be listed in
the .jigdo file will be checked whether it begins with the From the .jigdo file will be checked whether it begins with the From
string. If so, this string will be replaced by the To string and a string. If so, this string will be replaced by the To string and a
':' character. E.g. "Debian=/mirror/debian". ':' character. The From string should end by a '/' character.
Alias: -jigdo-map Alias: -jigdo-map
*compression* chooses one of "bzip2" or "gzip" for the compression of
the template file. The jigdo file is put out uncompressed. Alias:
-jigdo-template-compress
 
File: xorriso.info, Node: Charset, Next: Exception, Prev: Jigdo, Up: Options File: xorriso.info, Node: Charset, Next: Exception, Prev: Jigdo, Up: Options
@ -4266,37 +4269,37 @@ Node: Writing79789
Node: SetWrite86078 Node: SetWrite86078
Node: Bootable98029 Node: Bootable98029
Node: Jigdo107119 Node: Jigdo107119
Node: Charset110231 Node: Charset110410
Node: Exception112982 Node: Exception113161
Node: DialogCtl117497 Node: DialogCtl117676
Node: Inquiry119842 Node: Inquiry120021
Node: Navigate123972 Node: Navigate124151
Node: Verify131570 Node: Verify131749
Node: Restore139990 Node: Restore140169
Node: Emulation146646 Node: Emulation146825
Node: Scripting154646 Node: Scripting154825
Node: Frontend160208 Node: Frontend160387
Node: Examples161409 Node: Examples161588
Node: ExDevices162578 Node: ExDevices162757
Node: ExCreate163212 Node: ExCreate163391
Node: ExDialog164486 Node: ExDialog164665
Node: ExGrowing165748 Node: ExGrowing165927
Node: ExModifying166550 Node: ExModifying166729
Node: ExBootable167051 Node: ExBootable167230
Node: ExCharset167598 Node: ExCharset167777
Node: ExPseudo168426 Node: ExPseudo168605
Node: ExCdrecord169320 Node: ExCdrecord169499
Node: ExMkisofs169635 Node: ExMkisofs169814
Node: ExGrowisofs170638 Node: ExGrowisofs170817
Node: ExException171762 Node: ExException171941
Node: ExTime172216 Node: ExTime172395
Node: ExIncBackup172675 Node: ExIncBackup172854
Node: ExRestore176147 Node: ExRestore176326
Node: ExRecovery177116 Node: ExRecovery177295
Node: Files177682 Node: Files177861
Node: Seealso178910 Node: Seealso179089
Node: Legal179434 Node: Legal179613
Node: CommandIdx180356 Node: CommandIdx180535
Node: ConceptIdx194300 Node: ConceptIdx194479
 
End Tag Table End Tag Table

View File

@ -44,7 +44,7 @@
@c man .\" First parameter, NAME, should be all caps @c man .\" First parameter, NAME, should be all caps
@c man .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection @c man .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
@c man .\" other parameters are allowed: see man(7), man(1) @c man .\" other parameters are allowed: see man(7), man(1)
@c man .TH XORRISO 1 "Sep 29, 2010" @c man .TH XORRISO 1 "Oct 02, 2010"
@c man .\" Please adjust this date whenever revising the manpage. @c man .\" Please adjust this date whenever revising the manpage.
@c man .\" @c man .\"
@c man .\" Some roff macros, for reference: @c man .\" Some roff macros, for reference:
@ -2953,9 +2953,14 @@ Alias: -jigdo-force-md5
@strong{mapping} adds a string pair of the form To=From to the parameter list. @strong{mapping} adds a string pair of the form To=From to the parameter list.
The absolute disk_path of any file that will be listed in the .jigdo file will The absolute disk_path of any file that will be listed in the .jigdo file will
be checked whether it begins with the From string. If so, this string will be checked whether it begins with the From string. If so, this string will
be replaced by the To string and a ':' character. E.g. "Debian=/mirror/debian". be replaced by the To string and a ':' character. The From string should end
by a '/' character.
@end table @end table
Alias: -jigdo-map Alias: -jigdo-map
@*
@strong{compression} chooses one of "bzip2" or "gzip" for the compression of
the template file. The jigdo file is put out uncompressed.
Alias: -jigdo-template-compress
@c man .TP @c man .TP
@c man .B Character sets: @c man .B Character sets:
@node Charset, Exception, Jigdo, Options @node Charset, Exception, Jigdo, Options

View File

@ -1 +1 @@
#define Xorriso_timestamP "2010.10.01.190235" #define Xorriso_timestamP "2010.10.02.121147"