linux-tools: move trace files to the perf pkg (which contains trace), fix x86_64 install.
This commit is contained in:
parent
fda709060b
commit
fb03140349
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'linux-tools'
|
# Template file for 'linux-tools'
|
||||||
pkgname=linux-tools
|
pkgname=linux-tools
|
||||||
version=3.14
|
version=3.14
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="linux-${version}"
|
wrksrc="linux-${version}"
|
||||||
short_desc="Linux kernel tools meta-pkg"
|
short_desc="Linux kernel tools meta-pkg"
|
||||||
hostmakedepends="flex perl asciidoc xmlto python automake libtool"
|
hostmakedepends="flex perl asciidoc xmlto python automake libtool"
|
||||||
|
@ -75,6 +75,10 @@ do_install() {
|
||||||
cd ${wrksrc}/tools/power/x86/x86_energy_perf_policy
|
cd ${wrksrc}/tools/power/x86/x86_energy_perf_policy
|
||||||
vinstall x86_energy_perf_policy 755 usr/bin
|
vinstall x86_energy_perf_policy 755 usr/bin
|
||||||
vinstall x86_energy_perf_policy.8 644 usr/share/man/man8
|
vinstall x86_energy_perf_policy.8 644 usr/share/man/man8
|
||||||
|
|
||||||
|
if [ -d ${DESTDIR}/usr/lib64 ]; then
|
||||||
|
mv ${DESTDIR}/usr/lib64/* ${DESTDIR}/usr/lib/
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
cpupower_package() {
|
cpupower_package() {
|
||||||
|
@ -127,6 +131,7 @@ perf_package() {
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/perf
|
vmove usr/bin/perf
|
||||||
vmove usr/bin/trace
|
vmove usr/bin/trace
|
||||||
|
vmove usr/lib/traceevent
|
||||||
vmove usr/libexec/perf-core
|
vmove usr/libexec/perf-core
|
||||||
vmove usr/share/bash-completion
|
vmove usr/share/bash-completion
|
||||||
vmove "usr/share/man/man1/perf*"
|
vmove "usr/share/man/man1/perf*"
|
||||||
|
|
Loading…
Reference in New Issue