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

upgpkg: 5.3-1

parent 7eb3a60c
No related branches found
Tags 5.3-1
No related merge requests found
......@@ -15,8 +15,8 @@ pkgname=(
'usbip'
'x86_energy_perf_policy'
)
pkgver=5.2
pkgrel=2
pkgver=5.3
pkgrel=1
license=('GPL2')
arch=('x86_64')
url='https://www.kernel.org'
......@@ -33,19 +33,26 @@ makedepends+=('pciutils')
makedepends+=('glib2' 'sysfsutils' 'udev')
# tmon deps
makedepends+=('ncurses')
# bpf deps
makedepends+=('python-docutils')
groups=("$pkgbase")
source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git#tag=v${pkgver//_/-}"
"https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-$pkgver.1.xz"
# "https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-$pkgver.1.xz"
'cpupower.default'
'cpupower.systemd'
'cpupower.service'
'usbipd.service')
md5sums=('SKIP'
'a45be902d46625f7b554f17bab3686f0'
'56883c159381ba89e50ab8ea65efec77'
'34f5ecc19770a1abbcd0fd65bfd1f065'
'86c4e419e4ba80835c330d49ba3f56ad'
'bb35634f480325a78b943f7e10165e86')
'usbipd.service'
'hv_fcopy_daemon.service'
'hv_kvp_daemon.service'
'hv_vss_daemon.service')
sha256sums=('SKIP'
'4fa509949d6863d001075fa3e8671eff2599c046d20c98bb4a70778595cd1c3f'
'd2e8e5e8b22c6089a91f573aa1c59e442a1f3b67a2c9f047abe3b57d3d6558cc'
'fa2560630576464739ede14c9292249f4007f36a684bc378add174fc88394550'
'2e187734d8aec58a3046d79883510d779aa93fb3ab20bd3132c1a607ebe5498f'
'16855c197d2334f820cb190312a5a7fffe9165189db01344a957e582e39e17d8'
'b1315cb77a35454e1af9172f821a52e2a0cb18561be05a340d21cf337b01ae61'
'2d5e2f8d40b6f19bf2e1dead57ca105d72098fb0b418c09ff2e0cb91089710af')
prepare() {
cd linux
......@@ -276,6 +283,7 @@ package_hyperv() {
cd linux/tools/hv
for _p in hv_fcopy_daemon hv_kvp_daemon hv_vss_daemon; do
install -Dm755 "$_p" "$pkgdir/usr/bin/$_p"
install -Dm644 "$srcdir/$_p.service" "$pkgdir/usr/lib/systemd/system/$_p.service"
done
install -dm755 "$pkgdir/usr/lib/hyperv/kvp_scripts"
}
......
[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
[Unit]
Description=Hyper-V key-value pair (KVP)
ConditionPathExists=/dev/vmbus/hv_kvp
[Service]
ExecStart=/usr/bin/hv_kvp_daemon -n
[Install]
WantedBy=multi-user.target
[Unit]
Description=Hyper-V volume shadow copy service (VSS)
ConditionPathExists=/dev/vmbus/hv_vss
[Service]
ExecStart=/usr/bin/hv_vss_daemon -n
[Install]
WantedBy=multi-user.target
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