From 321594ced02ae0b2173d28aa0d9dea71b5abdab8 Mon Sep 17 00:00:00 2001 From: Tk-Glitch Date: Mon, 30 Nov 2020 15:19:15 +0100 Subject: [PATCH] Skip the gpl patch on 455.4+ --- PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 80def6a..0a91a97 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -473,7 +473,7 @@ DEST_MODULE_LOCATION[3]="/kernel/drivers/video"' dkms.conf # 5.9 - 5.10 quirk if (( $(vercmp "$_kernel" "5.9") >= 0 )) || (( $(vercmp "$_kernel" "5.10") >= 0 )); then - if [[ $pkgver = 450* ]] || [[ $pkgver = 455* ]]; then + if [[ $pkgver = 450* ]] || [[ $pkgver = 455.2* ]] || [[ $pkgver = 455.3* ]]; then cd "$srcdir"/"$_pkg"/kernel-$_kernel msg2 "Applying 5.9-gpl.diff for $_kernel..." patch -Np2 -i "$srcdir"/5.9-gpl.diff @@ -773,7 +773,7 @@ DEST_MODULE_LOCATION[3]="/kernel/drivers/video"' dkms.conf # 5.9 - 5.10 quirk if [ "$_kernel59" = "1" ] || [ "$_kernel510" = "1" ]; then - if [[ $pkgver = 450* ]] || [[ $pkgver = 455* ]]; then + if [[ $pkgver = 450* ]] || [[ $pkgver = 455.2* ]] || [[ $pkgver = 455.3* ]]; then msg2 "Applying 5.9-gpl.diff for dkms..." patch -Np1 -i "$srcdir"/5.9-gpl.diff fi