7 Mar
2011
7 Mar
'11
18:42
2011/3/7 Cristian Morales Vega
I have a package that "tar czf"s a directory in the build process. This breaks build-compare since every compression generates a different file. A "tar cjf" (bz2) doesn't suffer from the same problem... Any idea? Can "tar czf" produce reproducible results?
In case it helps someone... The problem is the modification time of
the intermediate tar file. This,
tar -c <dir> | gzip -n >