diff options
author | Ben Pfaff <blp@ovn.org> | 2016-03-16 16:45:29 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2016-03-16 20:11:24 -0700 |
commit | 87530bc1c1c1046c9bcff454e96df15fbb31d1cf (patch) | |
tree | 4a7cf9b2085938ac0acbe632f454c598b16ff62d /debian | |
parent | c416eaf8c247225f0ebeb22b6ca5c473e96a53d2 (diff) | |
download | openvswitch-87530bc1c1c1046c9bcff454e96df15fbb31d1cf.tar.gz |
ovs-ctl: Remove code for upgrading from Open vSwitch 1.6 and earlier.
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>
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/openvswitch-datapath-module-_KVERS_.postinst.modules.in | 2 | ||||
-rwxr-xr-x | debian/openvswitch-switch.init | 7 |
2 files changed, 2 insertions, 7 deletions
diff --git a/debian/openvswitch-datapath-module-_KVERS_.postinst.modules.in b/debian/openvswitch-datapath-module-_KVERS_.postinst.modules.in index 3ed480080..2241acfc5 100755 --- a/debian/openvswitch-datapath-module-_KVERS_.postinst.modules.in +++ b/debian/openvswitch-datapath-module-_KVERS_.postinst.modules.in @@ -9,7 +9,7 @@ set -e # If the kernel module is already loaded, we have nothing to do here. # A force-reload-kmod should be run manually to use the new kernel module. -if [ -e /sys/module/openvswitch ] || [ -e /sys/module/openvswitch_mod ]; then +if [ -e /sys/module/openvswitch ]; then exit 0 fi diff --git a/debian/openvswitch-switch.init b/debian/openvswitch-switch.init index a045f3b73..1e94015d1 100755 --- a/debian/openvswitch-switch.init +++ b/debian/openvswitch-switch.init @@ -1,6 +1,6 @@ #! /bin/sh # -# Copyright (C) 2011, 2012 Nicira, Inc. +# Copyright (C) 2011, 2012, 2016 Nicira, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -91,11 +91,6 @@ restart () { 2>/dev/null` LOADED_VERSION=`cat /sys/module/openvswitch/version \ 2>/dev/null` - elif [ -e /sys/module/openvswitch_mod ]; then - LOADED_SRCVERSION=`cat /sys/module/openvswitch_mod/srcversion \ - 2>/dev/null` - LOADED_VERSION=`cat /sys/module/openvswitch_mod/version \ - 2>/dev/null` fi SRCVERSION=`modinfo -F srcversion openvswitch 2>/dev/null` VERSION=`modinfo -F version openvswitch 2>/dev/null` |