diff mbox series

[3/4] UBUNTU: [Packaging] update-version -- call out to update-dkms-versions

Message ID 20210721221338.159114-4-apw@canonical.com
State New
Headers show
Series LP:1928921 LRMv5 -- switch primary version handling to kernel-versions data set | expand

Commit Message

Andy Whitcroft July 21, 2021, 10:13 p.m. UTC
Ensure we update our dkms-versions from kernel-versions when doing
general updates.

BugLink: https://bugs.launchpad.net/bugs/1928921
Signed-off-by: Andy Whitcroft <apw@canonical.com>
---
 update-version | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/update-version b/update-version
index 21d35c6..82794e8 100755
--- a/update-version
+++ b/update-version
@@ -1,5 +1,7 @@ 
 #!/bin/bash
 
+here=$(dirname $(readlink -f "$0"))
+
 tag_prefix=`dpkg-parsechangelog -S Source | sed 's/linux-restricted-modules/Ubuntu/'`-
 
 commit=:
@@ -60,6 +62,7 @@  if [ "$no_update" = 'false' ]; then
 	else
 		echo "$thing: no changes from master"
 	fi
+	"$here/update-dkms-versions"
 	for thing in \
 		debian/scripts/misc/git-ubuntu-log \
 		debian/scripts/dkms-build \