[Git][reproducible-builds/reproducible-website][master] archives: update paragraph about `tar` and `--clamp-mtime` flag
Chris Lamb (@lamby)
gitlab at salsa.debian.org
Tue Dec 12 13:14:24 UTC 2023
Chris Lamb pushed to branch master at Reproducible Builds / reproducible-website
Commits:
37e7878f by Pol Dellaiera at 2023-12-12T08:38:29+01:00
archives: update paragraph about `tar` and `--clamp-mtime` flag
- - - - -
1 changed file:
- _docs/archives.md
Changes:
=====================================
_docs/archives.md
=====================================
@@ -45,15 +45,10 @@ $ find build -newermt "@${SOURCE_DATE_EPOCH}" -print0 |
$ zip -r product.zip build
{% endhighlight %}
-A patch has been written to simplify the latter operation with GNU
-Tar. It is currently available in Debian since
-[tar](https://packages.qa.debian.org/tar) version 1.28-1. Hopefully it
-will be integrated upstream soon, but you might want to use it with
-caution. It adds a new `--clamp-mtime` flag which will only set the time
+In `tar` >= 1.29, the `--clamp-mtime` flag can be used to only set the
when the file is more recent than the value specified with `--mtime`:
{% highlight sh %}
-# Only in Debian unstable for now
$ tar --mtime='2015-10-21 00:00Z' --clamp-mtime -cf product.tar build
{% endhighlight %}
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/-/commit/37e7878f6f50f0d9da3c4048f3707d9f0e190a65
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/-/commit/37e7878f6f50f0d9da3c4048f3707d9f0e190a65
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20231212/66ad7f8d/attachment.htm>
More information about the rb-commits
mailing list