mirror of
https://github.com/openvswitch/ovs
synced 2025-10-25 15:07:05 +00:00
I tested that installing openvswitch-datapath-dkms worked OK on my own Debian machine. The bulk of this patch is taken from downstream Ubuntu DKMS support written by Chuck Short <zulcss@ubuntu.com>, version 1.2.0-1ubuntu1. I made the following changes: * Update debian/.gitignore. * Update debian/automake.mk. * Correct description in debian/control (it was a cut-and-paste from the openvswitch-datapath-source description without editing). * Fix up for --with-l26 to --with-linux and datapath/linux-2.6 to datapath/linux transitions. CC: Chuck Short <zulcss@ubuntu.com> CC: Dave Walker <DaveWalker@ubuntu.com> Acked-by: Simon Horman <horms@verge.net.au>
16 lines
252 B
Bash
16 lines
252 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
package=openvswitch-datapath-dkms
|
|
name=openvswitch
|
|
|
|
version=`dpkg-query -W -f='${Version}' "$package" \
|
|
|rev|cut -d- -f2-|rev|cut -d':' -f2|tr -d "\n"`
|
|
|
|
dkms remove -m "$name" -v "$version" --all || true
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|