debian/rules.real: Exclude *.pyc from featureset diffs

Since jessie's diff returns 2 when it finds a binary (#737180) we need
to do this to avoid FTBFS in jessie-backports.  Besides which, those
aren't part of the source.

(cherry picked from commit 62cce57936757e7492b082b2845e04be00cda5d2)
This commit is contained in:
Ben Hutchings 2016-12-14 15:46:02 +00:00
parent 966cf13de0
commit 9bf892f446
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@ -136,6 +136,7 @@ linux (4.8.14-1) UNRELEASED; urgency=medium
[ Ben Hutchings ]
* [amd64] Re-enable LEGACY_VSYSCALL_EMULATE instead of LEGACY_VSYSCALL_NONE.
There are still binaries in stable that use vsyscall (via dietlibc).
* debian/rules.real: Exclude *.pyc from featureset diffs
-- Uwe Kleine-König <ukleinek@debian.org> Sun, 04 Dec 2016 21:16:06 +0100

2
debian/rules.real vendored
View File

@ -122,7 +122,7 @@ $(BUILD_DIR)/linux-patch-$(UPSTREAMVERSION)-%.patch.xz: $(STAMPS_DIR)/source_non
set -o pipefail; \
(cd '$(BUILD_DIR)'; \
set +e; \
diff -urN -p -x debian -x .pc -x .svk -x .svn -x .git source_none source_$*; \
diff -urN -p -x debian -x .pc -x .svk -x .svn -x .git -x '*.pyc' source_none source_$*; \
test $$? -eq 1) | \
filterdiff --remove-timestamps --strip=1 --addoldprefix=a/ --addnewprefix=b/ | \
xz -c >$@ || \