X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=debian%2Fopenvswitch-switch.postinst;h=ac6ed653acebe91100796075a924a7e2557fb351;hb=refs%2Fheads%2Fmanual;hp=74b52ba90f09644982d1b98fcaf9efed7ba6bb94;hpb=2ed7d6e227c009f0f6bdabbb85262d8aac896e00;p=openvswitch diff --git a/debian/openvswitch-switch.postinst b/debian/openvswitch-switch.postinst index 74b52ba9..ac6ed653 100755 --- a/debian/openvswitch-switch.postinst +++ b/debian/openvswitch-switch.postinst @@ -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