Hi!

On Tue, 2013-08-27 at 23:12:34 +0200, Jérémy Bobbio wrote:
> In order to make the build reproducible, we ensure that the files are
> written to the .deb in a deterministic file order.
> ---
> 
> Here is a test case for pkg-tests that should ensure that files are
> always written in the same order in the control and data tarball,
> despite what readdir() says.

Thanks, this is very helpful. I've applied it locally, and done
several simplifications. I've removed the libhookdir library, because
it's really unneeded and it makes unportable assumptions on the internal
structure of the DIR type (which in this case seems to be missing an
off_t member). I'm just checking the .deb member tar output against a
sorted tar output. I've also renamed the test case.

Thanks,
Guillem


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to