diff --git a/debian/changelog b/debian/changelog index 138dd0de1..141424167 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Wed, 28 Nov 2018 12:20:46 +0100 diff --git a/debian/rules.real b/debian/rules.real index fbd73022d..584103d0c 100644 --- a/debian/rules.real +++ b/debian/rules.real @@ -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