aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2022-10-10 11:28:45 +0100
committerNick Clifton <nickc@redhat.com>2022-10-10 11:28:45 +0100
commitf54c53e9f4e01ba19a2b3a664fee42798b60e38a (patch)
tree31f4c45a1f7f4922d1e38767a3a0f4a3dd89441f /binutils
parentc29a6445a981cee5e8eebe3617ef5c049fd3409f (diff)
downloadbinutils-f54c53e9f4e01ba19a2b3a664fee42798b60e38a.zip
binutils-f54c53e9f4e01ba19a2b3a664fee42798b60e38a.tar.gz
binutils-f54c53e9f4e01ba19a2b3a664fee42798b60e38a.tar.bz2
Add ability to create reproducible source tarballs.
* src-release.sh: Add "-r <date>" option to create reproducible tarballs based upon a fixed timestamp of <date>. * binutils/README-how-to-make-a-release: Add a line showing how to use -r <date> when creating a binutils release.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/README-how-to-make-a-release4
1 files changed, 4 insertions, 0 deletions
diff --git a/binutils/README-how-to-make-a-release b/binutils/README-how-to-make-a-release
index 9fcebf5..3d7f6ce 100644
--- a/binutils/README-how-to-make-a-release
+++ b/binutils/README-how-to-make-a-release
@@ -251,6 +251,10 @@ When the time comes to actually make the release....
./src-release.sh -b -g -l -x binutils
+ OR ... for a more reproducible tarball:
+
+ ./src-release.sh -b -g -l -x -r `git log -1 --format=%cd --date=format:%F bfd/version.m4` binutils
+
24. Check that the files in the tarballs have the correct
permissions.