mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
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:
1
debian/changelog
vendored
1
debian/changelog
vendored
@@ -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
2
debian/rules.real
vendored
@@ -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 >$@ || \
|
||||
|
||||
Reference in New Issue
Block a user