diff mbox series

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

Message ID 20210122162312.459010-7-apw@canonical.com
State New
Headers show
Series LP: #1912803 -- autogenerate Nvidia rules/control | expand

Commit Message

Andy Whitcroft Jan. 22, 2021, 4:23 p.m. UTC
Signed-off-by: Andy Whitcroft <apw@canonical.com>
---
 debian/scripts/gen-rules | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

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')