debian: build with debugging symbol
[sliver-openvswitch.git] / debian / openvswitch-switch.postinst
index 74b52ba..ac6ed65 100755 (executable)
@@ -44,8 +44,15 @@ case "$1" in
         ;;
 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
+# Save and restore openflow flows during a package upgrade.
+OVS_RESTART_SAVE_FLOWS=yes
+export OVS_RESTART_SAVE_FLOWS
 
+#DEBHELPER#
 
+exit 0