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.jack...@eu.citrix.com>

Thanks,
Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to