]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
UBUNTU: [Packaging] virtualbox -- reduce in kernel module versions
authorAndy Whitcroft <apw@canonical.com>
Thu, 19 Oct 2017 17:35:06 +0000 (18:35 +0100)
committerSeth Forshee <seth.forshee@canonical.com>
Mon, 29 Jan 2018 13:44:59 +0000 (07:44 -0600)
Signed-off-by: Andy Whitcroft <apw@canonical.com>
ubuntu/vbox-update

index 528c0c8a6bc33089b92bfcec48bc4da262267863..7460aefbdafbb3754e728daeb03ea565ab090a5b 100755 (executable)
@@ -41,6 +41,13 @@ done
 # the version that was imported.
 sed -i -e 's: vboxvideo/::' vbox/Makefile
 
+# Reduce the version of the in-kernel module just slightly so it
+# will not clash with the dkms package.
+for version in vbox/*/version-generated.h
+do
+       sed -i -e 's/_Ubuntu"/_KernelUbuntu"/' $version
+done
+
 # Record the version number and nominal source.
 {
        echo "Source: http://ports.ubuntu.com/pool/multiverse/v/virtualbox/virtualbox-guest-dkms_${ver}_all.deb"