X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=debian%2Fopenvswitch-switch.postinst;h=ac6ed653acebe91100796075a924a7e2557fb351;hb=77465eb3933f11e3b65d145f3e78c28b108d7bb6;hp=74b52ba90f09644982d1b98fcaf9efed7ba6bb94;hpb=2ed7d6e227c009f0f6bdabbb85262d8aac896e00;p=mirror_ovs.git diff --git a/debian/openvswitch-switch.postinst b/debian/openvswitch-switch.postinst index 74b52ba90..ac6ed653a 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