[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[glibc] 02/02: debian/rules.d/tarball.mk: make the orig tarball generation a bit more reproducible.



This is an automated email from the git hooks/post-receive script.

aurel32 pushed a commit to branch glibc-2.24
in repository glibc.

commit acc9833de942d3b64a7662c619d4a0a044fd4827
Author: Aurelien Jarno <aurelien@aurel32.net>
Date:   Tue Aug 2 09:38:53 2016 +0200

    debian/rules.d/tarball.mk: make the orig tarball generation a bit more reproducible.
---
 debian/changelog          | 2 ++
 debian/rules.d/tarball.mk | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index bce3183..d9d6587 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ glibc (2.24-0experimental0) UNRELEASED; urgency=medium
   * New upstream release: version 2.24.
   * debian/patches/hurd-i386/submitted-malloc-setstate.diff: only apply on
     hurd-i386, as it causes regressions on at least x32.
+  * debian/rules.d/tarball.mk: make the orig tarball generation a bit more
+    reproducible.
 
  -- Aurelien Jarno <aurel32@debian.org>  Mon, 01 Aug 2016 23:25:43 +0200
 
diff --git a/debian/rules.d/tarball.mk b/debian/rules.d/tarball.mk
index de3e5f8..29ab787 100644
--- a/debian/rules.d/tarball.mk
+++ b/debian/rules.d/tarball.mk
@@ -13,7 +13,7 @@ $(DEB_ORIG):
 	mkdir -p $(GLIBC_DIR)
 	git archive -v --remote=$(GLIBC_GIT) --format=tar $(GLIBC_TAG) | (tar -C $(GLIBC_DIR) -xf -)
 	rm -fr $(GLIBC_DIR)/manual
-	tar -Jcf $(DEB_ORIG) $(GLIBC_DIR)
+	tar --mode=go=rX,u+rw,a-s --owner=root --group=root --numeric-owner -Jcf $(DEB_ORIG) $(GLIBC_DIR)
 	rm -rf $(GLIBC_DIR)
 
 update-from-upstream:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git


Reply to: