extra/linux-tools to 6.10-1

This commit is contained in:
Kevin Mihelich 2024-07-23 00:20:32 +00:00
parent ab3a355b18
commit e28ebf4a82
4 changed files with 14 additions and 24 deletions

View file

@ -1,6 +1,6 @@
pkgbase = linux-tools
pkgver = 6.9
pkgrel = 2
pkgver = 6.10
pkgrel = 1
url = https://www.kernel.org
arch = x86_64
groups = linux-tools
@ -36,22 +36,20 @@ 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.9?signed
source = git+https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git#tag=v6.10?signed
source = cpupower.default
source = cpupower.systemd
source = cpupower.service
source = usbipd.service
source = hv_fcopy_daemon.service
source = hv_kvp_daemon.service
source = hv_vss_daemon.service
validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886
validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E
sha256sums = 0ac1ad026d8eba3a745239e50259b8c4b78892b3c30d742cb1ed5b6988512519
sha256sums = e7ef67dfdf83e23ca49bb679dd32782c6d06088696bfa3b3a626705f51635d29
sha256sums = 4fa509949d6863d001075fa3e8671eff2599c046d20c98bb4a70778595cd1c3f
sha256sums = b692f4859ed3fd9831a058a450a84d8c409bf7e3e45aac1c2896a14bb83f3d7a
sha256sums = 42d2ec9f1d9cc255ee7945a27301478364ef482f5a6ddfc960189f03725ccec2
sha256sums = 2e187734d8aec58a3046d79883510d779aa93fb3ab20bd3132c1a607ebe5498f
sha256sums = 16855c197d2334f820cb190312a5a7fffe9165189db01344a957e582e39e17d8
sha256sums = b1315cb77a35454e1af9172f821a52e2a0cb18561be05a340d21cf337b01ae61
sha256sums = 2d5e2f8d40b6f19bf2e1dead57ca105d72098fb0b418c09ff2e0cb91089710af

View file

@ -0,0 +1,4 @@
[linux-tools]
source = "git"
git = "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
prefix = "v"

View file

@ -20,8 +20,8 @@ pkgname=(
'gpio-utils'
'iio-utils'
)
pkgver=6.9
pkgrel=2
pkgver=6.10
pkgrel=1
license=('GPL-2.0-only')
arch=('x86_64')
url='https://www.kernel.org'
@ -52,16 +52,14 @@ source=("https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${pkgver}.tar.xz"
'cpupower.systemd'
'cpupower.service'
'usbipd.service'
'hv_fcopy_daemon.service'
'hv_kvp_daemon.service'
'hv_vss_daemon.service'
)
sha256sums=('24fa01fb989c7a3e28453f117799168713766e119c5381dac30115f18f268149'
sha256sums=('e7ef67dfdf83e23ca49bb679dd32782c6d06088696bfa3b3a626705f51635d29'
'4fa509949d6863d001075fa3e8671eff2599c046d20c98bb4a70778595cd1c3f'
'b692f4859ed3fd9831a058a450a84d8c409bf7e3e45aac1c2896a14bb83f3d7a'
'42d2ec9f1d9cc255ee7945a27301478364ef482f5a6ddfc960189f03725ccec2'
'2e187734d8aec58a3046d79883510d779aa93fb3ab20bd3132c1a607ebe5498f'
'16855c197d2334f820cb190312a5a7fffe9165189db01344a957e582e39e17d8'
'b1315cb77a35454e1af9172f821a52e2a0cb18561be05a340d21cf337b01ae61'
'2d5e2f8d40b6f19bf2e1dead57ca105d72098fb0b418c09ff2e0cb91089710af')
@ -122,7 +120,7 @@ build() {
echo ':: hv'
pushd linux-$pkgver/tools/hv
CFLAGS+=' -DKVP_SCRIPTS_PATH=\"/usr/lib/hyperv/kvp_scripts/\"' make
CFLAGS+=' -DKVP_SCRIPTS_PATH=\"/usr/lib/hypervkvpd/\"' make
popd
echo ':: gpio'
@ -247,11 +245,10 @@ package_hyperv() {
depends=('glibc')
cd linux-$pkgver/tools/hv
for _p in hv_fcopy_daemon hv_kvp_daemon hv_vss_daemon; do
install -Dm755 "$_p" "$pkgdir/usr/bin/$_p"
make install DESTDIR="$pkgdir" sbindir=/usr/bin libexecdir=/usr/lib
for _p in hv_kvp_daemon hv_vss_daemon; do
install -Dm644 "$srcdir/$_p.service" "$pkgdir/usr/lib/systemd/system/$_p.service"
done
install -dm755 "$pkgdir/usr/lib/hyperv/kvp_scripts"
}
package_gpio-utils() {

View file

@ -1,9 +0,0 @@
[Unit]
Description=Hyper-V file copy service (FCOPY)
ConditionPathExists=/dev/vmbus/hv_fcopy
[Service]
ExecStart=/usr/bin/hv_fcopy_daemon -n
[Install]
WantedBy=multi-user.target