git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prepare for post-2.2.0 (2.2.90).
[sliver-openvswitch.git]
/
debian
/
openvswitch-switch.postinst
diff --git
a/debian/openvswitch-switch.postinst
b/debian/openvswitch-switch.postinst
index
74b52ba
..
2464572
100755
(executable)
--- a/
debian/openvswitch-switch.postinst
+++ b/
debian/openvswitch-switch.postinst
@@
-44,8
+44,16
@@
case "$1" in
;;
esac
;;
esac
-#DEBHELPER#
+# Do not fail package installation just because the kernel module
+# is not available.
+OVS_MISSING_KMOD_OK=yes
+export OVS_MISSING_KMOD_OK
-exit 0
+# force-reload-kmod during upgrade. If a user wants to override this,
+# they can set the variable OVS_FORCE_RELOAD_KMOD=no while installing.
+[ -z "${OVS_FORCE_RELOAD_KMOD}" ] && OVS_FORCE_RELOAD_KMOD=yes || true
+export OVS_FORCE_RELOAD_KMOD
+#DEBHELPER#
+exit 0