I tested this change with dpkg -i / dpkg -r... and dkms remove then rebuild install.
But not sure if we need to modify the debian/openvswitch-datapath-dkms.* files... My experiment indicates that we do not need to do that. Thanks, Alex Wang, On Fri, Apr 17, 2015 at 2:04 PM, Alex Wang <[email protected]> wrote: > With the latest change of separating vports into their own modules, > we need to update the dkms.conf.in and make dkms install all vport > modules. > > Signed-off-by: Alex Wang <[email protected]> > --- > debian/dkms.conf.in | 12 +++++++++--- > 1 file changed, 9 insertions(+), 3 deletions(-) > > diff --git a/debian/dkms.conf.in b/debian/dkms.conf.in > index a477761..85f14f8 100644 > --- a/debian/dkms.conf.in > +++ b/debian/dkms.conf.in > @@ -1,7 +1,13 @@ > +__MODULES=(openvswitch vport-geneve vport-gre vport-lisp vport-vxlan) > +__MODULE_LOCATION=datapath/linux/ > +__DEST_MODULE_LOCATION=/kernel/drivers/net/openvswitch/ > + > PACKAGE_NAME="openvswitch" > PACKAGE_VERSION="__VERSION__" > MAKE="./configure --with-linux='${kernel_source_dir}' && make -C > datapath/linux" > -BUILT_MODULE_NAME[0]=openvswitch > -BUILT_MODULE_LOCATION[0]=datapath/linux/ > -DEST_MODULE_LOCATION[0]=/kernel/drivers/net/openvswitch/ > +for __idx in ${!__MODULES[@]}; do > + BUILT_MODULE_NAME[__idx]=${__MODULES[__idx]} > + BUILT_MODULE_LOCATION[__idx]=${__MODULE_LOCATION} > + DEST_MODULE_LOCATION[__idx]=${__DEST_MODULE_LOCATION} > +done > AUTOINSTALL=yes > -- > 1.7.9.5 > > _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
