fix: Ensure kernel versions match
This commit is contained in:
parent
b2b9b3f927
commit
2bd7e9ec9e
5
.gitignore
vendored
5
.gitignore
vendored
@ -2,3 +2,8 @@ aports
|
||||
distfiles
|
||||
packages
|
||||
work
|
||||
|
||||
main
|
||||
testing
|
||||
unmaintained
|
||||
community
|
||||
|
@ -2,7 +2,7 @@
|
||||
# Maintainer: Stefan Reimer <stefan@zero-downtime.net>
|
||||
pkgname=aws-neuron-driver
|
||||
pkgver=0.1.0
|
||||
pkgrel=0
|
||||
pkgrel=2
|
||||
pkgdesc="Linux Kernel module for AWS Neuron INF instances"
|
||||
url="https://github.com/aws/aws-neuron-driver"
|
||||
arch="x86_64"
|
||||
@ -32,6 +32,8 @@ package() {
|
||||
cp neuron.ko "$pkgdir"/lib/modules/$KERNEL_VERSION
|
||||
|
||||
echo 'KERNEL=="neuron*", MODE="0666"' > "$pkgdir"/lib/udev/rules.d/90-neuron-udev.rules
|
||||
|
||||
depends="$(apk info linux-virt -d | grep description: | awk '{print $1}')"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
|
Loading…
Reference in New Issue
Block a user