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

Andy Whitcroft apw at canonical.com
Wed Jul 21 22:13:37 UTC 2021


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 at canonical.com>
---
 update-version | 3 +++
 1 file changed, 3 insertions(+)

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 \
-- 
2.31.1




More information about the kernel-team mailing list