[linux] 02/06: linux-source: Exclude Python bytecode generated when running Sphinx

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Fri Sep 16 15:41:12 UTC 2016


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

benh pushed a commit to branch master
in repository linux.

commit ab1ec6c09426278df09ff7391562ff075a4e2494
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Mon Sep 12 03:50:22 2016 +0100

    linux-source: Exclude Python bytecode generated when running Sphinx
---
 debian/changelog  | 4 ++++
 debian/rules.real | 5 ++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 66cb131..1898e29 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,10 @@ linux (4.8~rc5-1~exp2) UNRELEASED; urgency=medium
   [ Héctor Orón ]
   * [arm64] Enable ACPI, ARM64_VA_BITS_48 (Closes: #834505)
 
+  [ Ben Hutchings ]
+  * Fix some new reproducibility issues:
+    - linux-source: Exclude Python bytecode generated when running Sphinx
+
  -- Ben Hutchings <ben at decadent.org.uk>  Fri, 16 Sep 2016 16:39:53 +0100
 
 linux (4.8~rc5-1~exp1) experimental; urgency=medium
diff --git a/debian/rules.real b/debian/rules.real
index e320c82..71717d6 100644
--- a/debian/rules.real
+++ b/debian/rules.real
@@ -109,7 +109,10 @@ $(BUILD_DIR)/$(SOURCE_PACKAGE_NAME)-source-$(UPSTREAMVERSION).tar.xz: $(STAMPS_D
 	chmod -R u+rw,go=rX '$(DIR)'
 	find '$(DIR)' -depth -newermt '$(SOURCE_DATE)' -print0 | \
 		xargs -0r touch --no-dereference --date='$(SOURCE_DATE)'
-	cd '$(BUILD_DIR)'; find '$(SOURCE_PACKAGE_NAME)-source-$(UPSTREAMVERSION)' -print0 | \
+	cd '$(BUILD_DIR)'; \
+	find '$(SOURCE_PACKAGE_NAME)-source-$(UPSTREAMVERSION)' \
+		-name '*.pyc' -prune -o \
+		-print0 | \
 		sort -z | \
 		tar --no-recursion --null -T - -caf '$(SOURCE_PACKAGE_NAME)-source-$(UPSTREAMVERSION).tar.xz'
 	rm -rf '$(DIR)'

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



More information about the Kernel-svn-changes mailing list