[ovs-git] Open vSwitch: debian: Use dh_installmodules instead of calling "depmod" wrongly. (master)

dev at openvswitch.org dev at openvswitch.org
Wed Aug 11 23:17:14 UTC 2010

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  3d41239d308452b43bdf64d8acf7dde20e0fb986 (commit)
      from  e519ea28d6da56330a46c5b1d7c3ad84a6c45536 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3d41239d308452b43bdf64d8acf7dde20e0fb986
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=3d41239d308452b43bdf64d8acf7dde20e0fb986
Author: Ben Pfaff <blp at nicira.com>
debian: Use dh_installmodules instead of calling "depmod" wrongly.
Until now, the postinst for kernel modules built by the Debian packaging
has simply run "depmod -a", which is wrong, since this command rebuilds
the dependencies for the *running* kernel, which is not necessarily the
kernel for which modules are being installed.

The dh_installmodules script automatically adds the correct invocation of
depmod to the postinst script, so this commit switches to using that

This commit moves the kernel modules from /lib/modules/$KVERS into the
"kernel" subdirectory of that directory because dh_installmodules does not
support modules that are directly in the $KVERS directory.

CC: Sajjad Lateef <slateef at nicira.com>


Summary of changes:
 ...tch-datapath-module-_KVERS_.postinst.modules.in |    2 --
 debian/rules.modules                               |    3 ++-
 2 files changed, 2 insertions(+), 3 deletions(-)

Open vSwitch

More information about the git mailing list