alarm/amzn-ena-aarch64-dkms to 2.7.4-2 (#1938)

This commit is contained in:
iDigitalFlame 2022-09-05 21:13:37 +00:00 committed by GitHub
parent d8128228f4
commit 6b3b11cd34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
# Maintainer: iDigitalFlame <idf@idfla.me>
pkgname="amzn-ena-aarch64-dkms"
pkgver="2.7.4"
pkgrel="1"
pkgrel="2"
pkgdesc="Linux kernel driver for Amazon's Elastic Network Adapter (ENA)"
arch=("aarch64")
url="https://github.com/amzn/amzn-drivers"
@ -28,7 +28,7 @@ package() {
printf 'PACKAGE_NAME="ena"\n' > "${pkgdir}/usr/src/amzn-drivers-${pkgver}-${pkgrel}/dkms.conf"
printf 'PACKAGE_VERSION='\"${pkgver}\"'\n' >> "${pkgdir}/usr/src/amzn-drivers-${pkgver}-${pkgrel}/dkms.conf"
printf 'CLEAN="make -C ena clean"\n' >> "${pkgdir}/usr/src/amzn-drivers-${pkgver}-${pkgrel}/dkms.conf"
printf 'MAKE="make -C ena/ BUILD_KERNEL=$(uname -r)"\n' >> "${pkgdir}/usr/src/amzn-drivers-${pkgver}-${pkgrel}/dkms.conf"
printf 'MAKE="make -C ena/ BUILD_KERNEL=$kernelver"\n' >> "${pkgdir}/usr/src/amzn-drivers-${pkgver}-${pkgrel}/dkms.conf"
printf 'BUILT_MODULE_NAME[0]="ena"\n' >> "${pkgdir}/usr/src/amzn-drivers-${pkgver}-${pkgrel}/dkms.conf"
printf 'BUILT_MODULE_LOCATION="ena"\n' >> "${pkgdir}/usr/src/amzn-drivers-${pkgver}-${pkgrel}/dkms.conf"
printf 'DEST_MODULE_LOCATION[0]="/updates"\n'>> "${pkgdir}/usr/src/amzn-drivers-${pkgver}-${pkgrel}/dkms.conf"