generic-poky/meta/recipes-kernel
Bruce Ashfield b47225f0e8 perf: fix python scripts QA errors
Two QA warnings were being generated from perf, due to the location of
python scripts changing in the kernel build:

WARNING: perf-1.0-r9 do_package_qa: QA Issue:
  /usr/libexec/perf-core/scripts/python/call-graph-from-postgresql.py contained
  in package perf-python requires /usr/bin/python2, but no providers found in RDEPENDS_perf-python? [file-rdeps]

WARNING: QA Issue: /usr/libexec/perf-core/tests/attr.py_perf contained in package
  perf requires /usr/bin/python, but no providers found in its RDEPENDS [file-rdeps]

By adding libexec dir to both the tests and scripts packaging, we get the
appropriate RDEPENDS on the packages that actually contain the python scripts
(without making perf-core depend on python).

We also tweak any python scripts to use '/usr/bin/env python', rather than a
version specific python, since it won't be provided and generate a QA error.

[YOCTO #8991]

(From OE-Core rev: d7888b6d7fd1a1930013f3d4e31a2522038cdc62)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25 10:29:18 +00:00
..
blktrace blktrace: Include <sys/types.h for dev_t 2016-01-24 09:40:26 +00:00
cryptodev cryptodev: update to 1.8 2015-12-28 09:25:14 +00:00
dtc dtc: Upgrade to 1.4.1 (git based) 2015-01-16 23:08:24 +00:00
kern-tools kern-tools: avoid duplicate .scc file processing 2015-10-27 07:24:24 +00:00
kexec kexec: package kdump init script/configuration file correctly 2016-01-30 11:37:04 +00:00
kmod depmodwrapper-cross: nopackages to avoid QA [buildpaths] issue 2016-02-28 11:32:58 +00:00
latencytop latencytop: obey LDFLAGS 2015-11-25 08:08:16 +00:00
libpfm package_regex.inc: split sourceforge related entries to their own recipes 2015-12-08 10:20:52 +00:00
linux linux-yocto/4.1: MFD backports 2016-03-25 10:29:18 +00:00
linux-firmware linux-firmware: Break out some additional firmware 2016-03-25 10:29:17 +00:00
linux-libc-headers linux-libc-headers: Port patches for linux-headers for musl 2016-01-24 09:40:32 +00:00
lttng lttng-tools: Remove lttng-ust from PACKAGECONFIG for musl 2016-03-20 23:12:31 +00:00
modutils-initscripts meta: set proper S value 2015-01-23 11:36:27 +00:00
oprofile oprofile: Add nios2 support 2016-02-11 12:27:49 +00:00
perf perf: fix python scripts QA errors 2016-03-25 10:29:18 +00:00
powertop powertop: Include right headers for timval struct 2016-01-24 09:40:26 +00:00
sysprof sysprof: use packageconfig for the gui 2015-11-25 08:08:15 +00:00
systemtap systemtap_git.inc: do not immediate expand SELECTED_OPTIMIZATION 2016-01-31 13:29:48 +00:00
trace-cmd trace-cmd: update to 2.6 2015-12-28 09:25:15 +00:00