extra/linux-tools to 6.9-1

This commit is contained in:
Kevin Mihelich 2024-05-16 00:33:23 +00:00
parent 7209be7678
commit bfb3ad4f0d
2 changed files with 10 additions and 30 deletions

View file

@ -1,10 +1,10 @@
pkgbase = linux-tools
pkgver = 6.7
pkgrel = 3
pkgver = 6.9
pkgrel = 1
url = https://www.kernel.org
arch = x86_64
groups = linux-tools
license = GPL2
license = GPL-2.0-only
makedepends = git
makedepends = asciidoc
makedepends = xmlto
@ -36,7 +36,7 @@ pkgbase = linux-tools
makedepends = clang
options = !strip
options = !lto
source = git+https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git#tag=v6.7?signed
source = git+https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git#tag=v6.9?signed
source = cpupower.default
source = cpupower.systemd
source = cpupower.service
@ -46,7 +46,7 @@ pkgbase = linux-tools
source = hv_vss_daemon.service
validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886
validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E
sha256sums = SKIP
sha256sums = 0ac1ad026d8eba3a745239e50259b8c4b78892b3c30d742cb1ed5b6988512519
sha256sums = 4fa509949d6863d001075fa3e8671eff2599c046d20c98bb4a70778595cd1c3f
sha256sums = b692f4859ed3fd9831a058a450a84d8c409bf7e3e45aac1c2896a14bb83f3d7a
sha256sums = 42d2ec9f1d9cc255ee7945a27301478364ef482f5a6ddfc960189f03725ccec2
@ -71,10 +71,6 @@ pkgname = bpf
depends = binutils
depends = libsframe.so
pkgname = cgroup_event_listener
pkgdesc = Simple listener of cgroup events
depends = glibc
pkgname = cpupower
pkgdesc = Linux kernel tool to examine and tune power saving related features of your processor
install = cpupower.install
@ -94,7 +90,6 @@ pkgname = linux-tools-meta
groups =
depends = bootconfig
depends = bpf
depends = cgroup_event_listener
depends = cpupower
depends = hyperv
depends = perf

View file

@ -11,7 +11,6 @@ pkgbase=linux-tools
pkgname=(
'bootconfig'
'bpf'
'cgroup_event_listener'
'cpupower'
'hyperv'
'linux-tools-meta'
@ -21,9 +20,9 @@ pkgname=(
'gpio-utils'
'iio-utils'
)
pkgver=6.7
pkgrel=3
license=('GPL2')
pkgver=6.9
pkgrel=1
license=('GPL-2.0-only')
arch=('x86_64')
url='https://www.kernel.org'
options=('!strip' '!lto' '!distcc' '!makeflags')
@ -48,7 +47,7 @@ makedepends+=('libcap')
makedepends+=('llvm' 'clang')
groups=("$pkgbase")
source=("https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${pkgver}.tar.xz"
#"https://cdn.kernel.org/pub/linux/kernel/v6.x/patch-$pkgver.7.xz"
# "https://cdn.kernel.org/pub/linux/kernel/v6.x/patch-$pkgver.2.xz"
'cpupower.default'
'cpupower.systemd'
'cpupower.service'
@ -57,7 +56,7 @@ source=("https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${pkgver}.tar.xz"
'hv_kvp_daemon.service'
'hv_vss_daemon.service'
)
sha256sums=('74862fa8ab40edae85bb3385c0b71fe103288bce518526d63197800b3cbdecb1'
sha256sums=('24fa01fb989c7a3e28453f117799168713766e119c5381dac30115f18f268149'
'4fa509949d6863d001075fa3e8671eff2599c046d20c98bb4a70778595cd1c3f'
'b692f4859ed3fd9831a058a450a84d8c409bf7e3e45aac1c2896a14bb83f3d7a'
'42d2ec9f1d9cc255ee7945a27301478364ef482f5a6ddfc960189f03725ccec2'
@ -121,11 +120,6 @@ build() {
make
popd
echo ':: cgroup_event_listener'
pushd linux-$pkgver/tools/cgroup
make
popd
echo ':: hv'
pushd linux-$pkgver/tools/hv
CFLAGS+=' -DKVP_SCRIPTS_PATH=\"/usr/lib/hyperv/kvp_scripts/\"' make
@ -162,7 +156,6 @@ package_linux-tools-meta() {
depends=(
'bootconfig'
'bpf'
'cgroup_event_listener'
'cpupower'
'hyperv'
'perf'
@ -249,14 +242,6 @@ package_tmon() {
make install INSTALL_ROOT="$pkgdir"
}
package_cgroup_event_listener() {
pkgdesc='Simple listener of cgroup events'
depends=('glibc')
cd linux-$pkgver/tools/cgroup
install -Dm755 cgroup_event_listener "$pkgdir/usr/bin/cgroup_event_listener"
}
package_hyperv() {
pkgdesc='Hyper-V tools'
depends=('glibc')