[PATCH 5/9] UBUNTU: [Packaging] generate nvidia version mappings at clean time -- add signonly

Andy Whitcroft apw at canonical.com
Fri Jan 22 16:23:07 UTC 2021


Signed-off-by: Andy Whitcroft <apw at canonical.com>
---
 debian/scripts/gen-rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/scripts/gen-rules b/debian/scripts/gen-rules
index f52697d..4ea032c 100755
--- a/debian/scripts/gen-rules
+++ b/debian/scripts/gen-rules
@@ -29,6 +29,10 @@ EOL
 		*) continue ;;
 		esac
 
+		case " $extra " in
+		*\ signonly\ *)		continue ;;
+		esac
+
 		suffix_minus=$(echo "$package" | sed -e 's/nvidia-graphics-drivers-//')
 		suffix_under=$(echo "$suffix_minus" | sed -e 's/-/_/g')
 		suffix_short=$(echo "$suffix_minus" | sed -e 's/-server/srv/g')
-- 
2.29.2




More information about the kernel-team mailing list