diff -u kvm-84+dfsg/debian/changelog kvm-84+dfsg/debian/changelog --- kvm-84+dfsg/debian/changelog +++ kvm-84+dfsg/debian/changelog @@ -1,3 +1,11 @@ +kvm (1:84+dfsg-0ubuntu12.4~hardy1tarent1) hardy-backports; urgency=low + + * debian/kvm-source.postinst: do not fail if headers for the + current kernel are not installed (e.g. if we are run under + the installer but the headers are newer) + + -- Thorsten Glaser Tue, 09 Feb 2010 13:46:13 +0100 + kvm (1:84+dfsg-0ubuntu12.4~hardy1) hardy-backports; urgency=low * debian/patches/Fix-cluster-freeing-in-qcow2.patch: cherry-pick diff -u kvm-84+dfsg/debian/kvm-source.postinst kvm-84+dfsg/debian/kvm-source.postinst --- kvm-84+dfsg/debian/kvm-source.postinst +++ kvm-84+dfsg/debian/kvm-source.postinst @@ -31,13 +31,13 @@ echo echo "*************************************************" echo - exit 1 + else + echo "Doing initial module build" + dkms build -m $PKG -v $PKGVER >/dev/null + echo "Installing initial module" + dkms install -m $PKG -v $PKGVER >/dev/null + echo "Done." fi - echo "Doing initial module build" - dkms build -m $PKG -v $PKGVER >/dev/null - echo "Installing initial module" - dkms install -m $PKG -v $PKGVER >/dev/null - echo "Done." touch /var/run/reboot-required ;; esac