New paragraph "Reproducibility considerations" moved out of ENVIRONMENT
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
.\" First parameter, NAME, should be all caps
|
||||
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||
.\" other parameters are allowed: see man(7), man(1)
|
||||
.TH XORRISOFS 1 "Version 1.5.7, Apr 24, 2025"
|
||||
.TH XORRISOFS 1 "Version 1.5.7, Jun 10, 2025"
|
||||
.\" Please adjust this date whenever revising the manpage.
|
||||
.\"
|
||||
.\" Some roff macros, for reference:
|
||||
@ -1835,6 +1835,54 @@ Print to standard output a text that begins with
|
||||
"mkisofs 2.01\-Emulation Copyright (C)"
|
||||
.br
|
||||
and to standard error the version information of xorriso.
|
||||
.TP
|
||||
.B Reproducibility considerations:
|
||||
.PP
|
||||
Stable versions of xorriso are prepared to produce in repeated runs from
|
||||
the same input files with the same file metadata and the same xorrisofs options
|
||||
the same ISO 9660 filesystem bytes. The only exception are bytes which depend
|
||||
on the current time of the xorriso run.
|
||||
.br
|
||||
These time dependent values can be set to fixed values by the options
|
||||
\-\-modification\-date=, \-\-gpt_disk_guid, and
|
||||
\-\-set_all_file_dates. Instead of setting each of
|
||||
them, it is possible to influence them all by the environment variable
|
||||
SOURCE_DATE_EPOCH.
|
||||
.br
|
||||
SOURCE_DATE_EPOCH belongs to the specification of reproducible\-builds.org.
|
||||
It is supposed to be either undefined or to contain a decimal number
|
||||
which tells the seconds since january 1st 1970. If it contains a number,
|
||||
then it is used as time value to set the default of
|
||||
\-\-modification\-date=. \-\-gpt_disk_guid defaults
|
||||
to "modification\-date". The default of \-\-set_all_file_dates
|
||||
is then "set_to_mtime". Further the "now" time for ISO nodes without disk
|
||||
source is set to the SOURCE_DATE_EPOCH value.
|
||||
.br
|
||||
Startup files and xorrisofs options can override the effect of
|
||||
SOURCE_DATE_EPOCH.
|
||||
.PP
|
||||
Different versions of xorriso may or may not produce the same result from
|
||||
the same input and options. Reproducibility may be prevented by bug fixes
|
||||
or feature enhancements between versions.
|
||||
.br
|
||||
xorriso puts its version information into the Preparer Id field of the
|
||||
ISO 9660 Primary Volume Descriptor by default. This may be desired in order
|
||||
to clearly define which xorriso version has to be used for reproduction.
|
||||
But it may also be undesired because a wider range of xorriso versions shall
|
||||
not be excluded from an attempt of reproduction.
|
||||
.br
|
||||
Use option \-p with a text other than "@xorriso@" if you want to
|
||||
override the default at first production time. This option may also be used
|
||||
to explicitly set the preparer id as found in an ISO 9660 filesystem which
|
||||
shall be reproduced by a different version of xorriso. The preparer id can be
|
||||
inquired by xorriso command \-pvd_info.
|
||||
.PP
|
||||
If reproducibility of xorrisofs results is desired, then the precautions \- like
|
||||
setting SOURCE_DATE_EPOCH \- should be done already with the original xorrisofs
|
||||
run. All input files, the used xorrisofs options in exact sequence, the version
|
||||
of xorriso, and the possibly set SOURCE_DATE_EPOCH value should then be kept
|
||||
or recorded for later re\-use.
|
||||
.br
|
||||
.br
|
||||
.SH EXAMPLES
|
||||
.SS
|
||||
@ -2308,30 +2356,8 @@ HOME is used to find xorriso and mkisofs startup files.
|
||||
.br
|
||||
MKISOFSRC may be used to point the program to a mkisofs startup file.
|
||||
.br
|
||||
.sp 1
|
||||
SOURCE_DATE_EPOCH belongs to the specs of reproducible\-builds.org.
|
||||
It is supposed to be either undefined or to contain a decimal number
|
||||
which tells the seconds since january 1st 1970. If it contains a number,
|
||||
then it is used as time value to set the default of
|
||||
\-\-modification\-date=.
|
||||
\-\-gpt_disk_guid defaults to "modification\-date".
|
||||
The default of \-\-set_all_file_dates is then "set_to_mtime".
|
||||
Further the "now" time for ISO nodes without disk source is then set to
|
||||
the SOURCE_DATE_EPOCH value.
|
||||
.br
|
||||
Startup files and program options can override the effect of SOURCE_DATE_EPOCH.
|
||||
.br
|
||||
Be aware that by default xorriso puts its version information into the
|
||||
Preparer Id field of the ISO 9660 Primary Volume Descriptor. This may be
|
||||
desired in order to clearly define which xorriso version has to be used for
|
||||
reproduction. But it may also be undesired because a wider range of xorriso
|
||||
versions shall not be excluded from an attempt of reproduction.
|
||||
.br
|
||||
Use option \-p with a text other than "@xorriso@" if you want to
|
||||
override the default at first production time. This option may also be used
|
||||
to explicitly set the preparer id as found in an ISO 9660 filesystem which
|
||||
shall be reproduced by a different version of xorriso. The id can be inquired
|
||||
by the generic xorriso command \-pvd_info.
|
||||
See above paragraph "Reproducibility considerations".
|
||||
.br
|
||||
.SS
|
||||
.SH SEE ALSO
|
||||
|
Reference in New Issue
Block a user