By default DKMS doesn't build on demand for each kernel booted or updated.
Adding AUTOINSTALL=yes gives it this behavior.  Based on a small sample of
Debian packages and how-to guides for Ubuntu, AUTOINSTALL=yes is what most
packages use and what users expect.

Reported-by: Ralf Heiringhoff <[email protected]>
Reported-at: https://bugs.launchpad.net/bugs/962189
Signed-off-by: Ben Pfaff <[email protected]>
---
 AUTHORS             |    1 +
 debian/dkms.conf.in |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/AUTHORS b/AUTHORS
index 10a01ab..f4d6ce5 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -137,6 +137,7 @@ Paul Ingram             [email protected]
 Paulo Cravero           [email protected]
 Peter Balland           [email protected]
 Peter Phaal             [email protected]
+Ralf Heiringhoff        [email protected]
 Ram Jothikumar          [email protected]
 Ramana Reddy            [email protected]
 Rob Sherwood            [email protected]
diff --git a/debian/dkms.conf.in b/debian/dkms.conf.in
index eaf0541..0d3db76 100644
--- a/debian/dkms.conf.in
+++ b/debian/dkms.conf.in
@@ -7,3 +7,4 @@ BUILT_MODULE_LOCATION[0]=datapath/linux/
 BUILT_MODULE_LOCATION[1]=datapath/linux/
 DEST_MODULE_LOCATION[0]=/kernel/drivers/net/openvswitch/
 DEST_MODULE_LOCATION[1]=/kernel/drivers/net/openvswitch/
+AUTOINSTALL=yes
-- 
1.7.2.5

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to