Do not ship python2-only call-graph-from-sql.

This commit is contained in:
Luca Boccassi 2018-10-26 17:33:38 +01:00
parent f5f169ba99
commit 6de833bc7e
2 changed files with 3 additions and 0 deletions

1
debian/changelog vendored
View File

@ -18,6 +18,7 @@ linux (4.19.5-1~exp2) UNRELEASED; urgency=medium
* debian/rules.real: Split the rules so that the [un]versioned_tools
knobs can be used to avoid building them. Fixes FTBFS with unversioned
tools disabled.
* perf: do not ship python2-only call-graph-from-sql script.
-- Uwe Kleine-König <ukleinek@debian.org> Wed, 28 Nov 2018 12:20:46 +0100

2
debian/rules.real vendored
View File

@ -686,6 +686,8 @@ install-perf: build-perf
dh_testroot
dh_prep
$(call make-tools,tools/perf) install DESTDIR=$(DIR)
# do not ship python2 script
rm -f $(DIR)/usr/lib/perf_$(VERSION)-core/scripts/python/call-graph-from-sql.py
dh_perl /usr/lib/perf_$(VERSION)-core/scripts/perl/Perf-Trace-Util/lib/
dh_python3 /usr/lib/perf_$(VERSION)-core/scripts/python/Perf-Trace-Util/lib/
dh_installchangelogs