|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [OSSTEST PATCH] mg-debian-installer-update: produce deterministic output
Ian Campbell writes ("[OSSTEST PATCH] mg-debian-installer-update: produce
deterministic output"):
> Currently rerunning mg-debian-install-update when the external files
> have changed still produces differences in the local files produced
^
Missing "not" ?
> during post-processing.
>
> Avoid these differences by:
>
> - Using gzip -n, which avoids storing a timestamp in the gzip
> header (as well as the name, which we don't need).
> - Using pax -M norm, which normalises all timestamps (among other
> things, such as the owner, which we don't care about)
> - Using tar --mtime, with a reference within the dpkg-deb created
> hierarchy (which has timestamps from the package and is therefore
> dependent only on the downloaded package revision)
>
> With this the results of two invocations of
> mg-debian-installer-update(-all) are identical (assuming no changes to
> the downloaded files) as demonstrated by runnign this quick hack:
Excellent. Apart from the missing word in the description,
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Thanks,
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |