https://wiki.debian.org/ReproducibleBuilds/FileOrderInTarballs

suggests

find|sort | tar --null -T - --no-recursion -cf archive.tar

but the --no-recursion is applied at the wrong place - it must come
before the file list.

This was "fixed" in tar 1.28 (in stretch/sid):
2014-01-10  Sergey Poznyakoff  <g...@gnu.org>

        Fix the use of --no-recursion and --recursion options.

        Each option remains in effect until cancelled by the next
        ocurrence
        of its counterpart, as stated in the documentation.

so that recipe should probably be

find|sort | tar --no-recursion --null -T - -cf archive.tar


Now let me find all packages where I applied this ...

http://codesearch.debian.net/results/--no-recursion%20path%3Adebian%2Frules/page_0

Hmm, not that helpful ...


Andreas

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to