diff --git a/kernel/debian/changelog b/kernel/debian/changelog index 232002fd8af109ddec1ba6e4ad9f1424d6ee0f3d..24e9252003f8127ca642ee72059f290a9bf63714 100644 --- a/kernel/debian/changelog +++ b/kernel/debian/changelog @@ -1,9 +1,15 @@ +anbox-modules-dkms (4) zesty; urgency=medium + + * Fetch dkms version from debian package in post-install step. + + -- Simon Fels Thu, 23 Feb 2017 19:12:15 +0100 + anbox-modules-dkms (3) zesty; urgency=medium * Use correct package version in our Makefile to avoid failing module builds on the target device. - -- Simon Fels Tue, 21 Feb 2017 07:36:45 +0100 + -- Simon Fels Tue, 21 Feb 2017 07:36:45 +0100 anbox-modules-dkms (1) xenial; urgency=low diff --git a/kernel/debian/prerm b/kernel/debian/prerm index 0b83484dc434e2872a0ddc8ace2871e808e9bbd0..e3e93093d828b98a62a215da43dcd65294f02ccd 100755 --- a/kernel/debian/prerm +++ b/kernel/debian/prerm @@ -1,7 +1,7 @@ #!/bin/sh NAME=anbox-modules-dkms -VERSION=1 +VERSION=`dpkg-query -W -f='${Version}' $DEB_NAME | awk -F "-" '{print $1}' | cut -d\: -f2` set -e