Skip to content
Snippets Groups Projects
Verified Commit 60237ffa authored by Sébastien Luttringer's avatar Sébastien Luttringer
Browse files

upgpkg: 6.3-2

- Fix perf version
- Fix FS#77826
- Fix FS#78444
- Fix FS#77873
parent 9fb18009
No related branches found
No related tags found
No related merge requests found
...@@ -9,14 +9,13 @@ pkgname=( ...@@ -9,14 +9,13 @@ pkgname=(
'hyperv' 'hyperv'
'linux-tools-meta' 'linux-tools-meta'
'perf' 'perf'
# 'python-perf'
'tmon' 'tmon'
'turbostat' 'turbostat'
'usbip' 'usbip'
'x86_energy_perf_policy' 'x86_energy_perf_policy'
) )
pkgver=6.3 pkgver=6.3
pkgrel=1 pkgrel=2
license=('GPL2') license=('GPL2')
arch=('x86_64') arch=('x86_64')
url='https://www.kernel.org' url='https://www.kernel.org'
...@@ -26,7 +25,8 @@ makedepends=('git') ...@@ -26,7 +25,8 @@ makedepends=('git')
# kernel source deps # kernel source deps
makedepends+=('asciidoc' 'xmlto') makedepends+=('asciidoc' 'xmlto')
# perf deps # perf deps
makedepends+=('perl' 'python' 'python-setuptools' 'slang' 'elfutils' 'libunwind' 'numactl' 'audit' 'zstd' 'libcap') makedepends+=('perl' 'python' 'python-setuptools' 'slang' 'elfutils' 'libunwind'
'numactl' 'audit' 'zstd' 'libcap' 'libtraceevent' 'openssl' 'clang')
# cpupower deps # cpupower deps
makedepends+=('pciutils') makedepends+=('pciutils')
# usbip deps # usbip deps
...@@ -75,6 +75,11 @@ prepare() { ...@@ -75,6 +75,11 @@ prepare() {
echo ":: Applying patch $src" echo ":: Applying patch $src"
patch -p1 -N -i "$srcdir/$src" patch -p1 -N -i "$srcdir/$src"
done done
# force our perf version
cat > tools/perf/util/PERF-VERSION-GEN << EOF
#!/bin/sh
echo '#define PERF_VERSION "$pkgver-$pkgrel"' > "\${1:-.}"/PERF-VERSION-FILE
EOF
} }
build() { build() {
...@@ -88,7 +93,6 @@ build() { ...@@ -88,7 +93,6 @@ build() {
NO_SDT=1 \ NO_SDT=1 \
PYTHON=python \ PYTHON=python \
PYTHON_CONFIG=python-config \ PYTHON_CONFIG=python-config \
PERF_VERSION=$pkgver-$pkgrel \
DESTDIR="$pkgdir" DESTDIR="$pkgdir"
popd popd
...@@ -156,7 +160,6 @@ package_linux-tools-meta() { ...@@ -156,7 +160,6 @@ package_linux-tools-meta() {
'cpupower' 'cpupower'
'hyperv' 'hyperv'
'perf' 'perf'
# 'python-perf'
'tmon' 'tmon'
'turbostat' 'turbostat'
'usbip' 'usbip'
...@@ -171,7 +174,7 @@ package_perf() { ...@@ -171,7 +174,7 @@ package_perf() {
pkgdesc='Linux kernel performance auditing tool' pkgdesc='Linux kernel performance auditing tool'
depends=('glibc' 'perl' 'python' 'slang' 'elfutils' 'libunwind' 'binutils' depends=('glibc' 'perl' 'python' 'slang' 'elfutils' 'libunwind' 'binutils'
'numactl' 'audit' 'coreutils' 'glib2' 'xz' 'zlib' 'libelf' 'bash' 'numactl' 'audit' 'coreutils' 'glib2' 'xz' 'zlib' 'libelf' 'bash'
'zstd' 'libcap') 'zstd' 'libcap' 'libtraceevent' 'openssl')
cd linux/tools/perf cd linux/tools/perf
make -f Makefile.perf \ make -f Makefile.perf \
...@@ -182,9 +185,8 @@ package_perf() { ...@@ -182,9 +185,8 @@ package_perf() {
NO_SDT=1 \ NO_SDT=1 \
PYTHON=python \ PYTHON=python \
PYTHON_CONFIG=python-config \ PYTHON_CONFIG=python-config \
PERF_VERSION=$pkgver-$pkgrel \
DESTDIR="$pkgdir" \ DESTDIR="$pkgdir" \
install install install-python_ext
cd "$pkgdir" cd "$pkgdir"
# add linker search path # add linker search path
mkdir "$pkgdir/etc/ld.so.conf.d" mkdir "$pkgdir/etc/ld.so.conf.d"
...@@ -196,16 +198,6 @@ package_perf() { ...@@ -196,16 +198,6 @@ package_perf() {
find usr/share -type f -exec chmod a-x {} \; find usr/share -type f -exec chmod a-x {} \;
} }
#package_python-perf(){
# pkgdesc='Linux kernel performance auditing tool (python bindings)'
# depends=('python')
#
# cd linux/tools/perf
#
# make install-python_ext PYTHON=python DESTDIR="$pkgdir"
#}
package_cpupower() { package_cpupower() {
pkgdesc='Linux kernel tool to examine and tune power saving related features of your processor' pkgdesc='Linux kernel tool to examine and tune power saving related features of your processor'
backup=('etc/default/cpupower') backup=('etc/default/cpupower')
...@@ -290,7 +282,7 @@ package_hyperv() { ...@@ -290,7 +282,7 @@ package_hyperv() {
package_bpf() { package_bpf() {
pkgdesc='BPF tools' pkgdesc='BPF tools'
depends=('glibc' 'readline' 'zlib' 'libelf' 'libcap') depends=('glibc' 'readline' 'zlib' 'libelf' 'libcap' 'zstd' 'llvm-libs' 'binutils')
cd linux/tools/bpf cd linux/tools/bpf
# skip runsqlower until disabled in build # skip runsqlower until disabled in build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment