[Bug 962189] Re: dkms module is not automatically rebuild when installing new linux-image package
Kirill Kabardin
962189 at bugs.launchpad.net
Sat Jun 16 11:56:13 UTC 2012
It seems I found a fix for this.
dkms.conf in openvswitch module sources lacks «AUTOINSTALL="yes"» entry,
so this module won't rebuild on kernel updates.
Go to /usr/src/openvswitch-1.4.0 and add 'AUTOINSTALL=yes' to the end of
the file. It should look like this:
==================================================
PACKAGE_NAME="openvswitch"
PACKAGE_VERSION="1.4.0"
MAKE="./configure --with-linux=/usr/src/linux-headers-`uname -r` ; make -C datapath/linux"
BUILT_MODULE_NAME[0]=openvswitch_mod
BUILT_MODULE_NAME[1]=brcompat_mod
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"
==================================================
You can do it faster with this command:
# echo 'AUTOINSTALL="yes"' >> /usr/src/openvswitch-1.4.0/dkms.conf
This should fix module building on kernel updates.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvswitch in Ubuntu.
https://bugs.launchpad.net/bugs/962189
Title:
dkms module is not automatically rebuild when installing new linux-
image package
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/962189/+subscriptions
More information about the Ubuntu-server-bugs
mailing list