summaryrefslogtreecommitdiff
path: root/debian/openvswitch-datapath-module-_KVERS_.postinst.modules.in
Commit message (Collapse)AuthorAgeFilesLines
* ovs-ctl: Remove code for upgrading from Open vSwitch 1.6 and earlier.Ben Pfaff2016-03-161-1/+1
| | | | | | | | | | | | | | OVS 1.7 was released in July 2012, so by the time current OVS is released, it will be almost four years old. I think that this is long enough to remove special upgrade code. It's almost impossible to do this upgrade in any case since there is no overlap in the base kernel versions supported by the out of tree modules in the two versions (the only possibility is running the new version of OVS on the upstream module from Linux 3.3). Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Jesse Gross <jesse@kernel.org>
* debian: Change openvswitch restart logic for kernel package.Gurucharan Shetty2013-01-171-7/+11
| | | | | | | | | | | | | | | | | Currently, every time we install the non-dkms openvswitch kernel package, we restart openvswitch. This has no useful effect when an Open vSwitch kernel module is already loaded, because "/etc/init.d/openvswitch restart" does not load the new version of the kernel module. With this patch, we start openvswitch if there is no kernel module currently loaded (which is a case for a fresh install of openvswitch). This will load the kernel module. If someone wants to use the latest kernel module after an upgrade, they need to run "/etc/init.d/openvswitch-switch force-reload-kmod" manually. Issue #13556 Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
* debian: Use dh_installmodules instead of calling "depmod" wrongly.Ben Pfaff2010-08-111-2/+0
| | | | | | | | | | | | | | | | | Until now, the postinst for kernel modules built by the Debian packaging has simply run "depmod -a", which is wrong, since this command rebuilds the dependencies for the *running* kernel, which is not necessarily the kernel for which modules are being installed. The dh_installmodules script automatically adds the correct invocation of depmod to the postinst script, so this commit switches to using that instead. This commit moves the kernel modules from /lib/modules/$KVERS into the "kernel" subdirectory of that directory because dh_installmodules does not support modules that are directly in the $KVERS directory. CC: Sajjad Lateef <slateef@nicira.com>
* Import from old repository commit 61ef2b42a9c4ba8e1600f15bb0236765edc2ad45.v0.90.0Ben Pfaff2009-07-081-0/+25