[ovs-git] Open vSwitch: debian: Use a different way to avoid failing install without kernel module. (branch-1.5)

dev at openvswitch.org dev at openvswitch.org
Mon Mar 19 17:55:21 UTC 2012


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, branch-1.5 has been updated
       via  43a2283f8a7e22de1b1237b7a5eb8c321ea12c77 (commit)
       via  c0888adc527ee158e3c586efc09ee777aaddc9ee (commit)
       via  3381a0e8766209ad3cc388a1e56b7778931b3805 (commit)
       via  8108cc58dee89da577e667c90f33b11b5ff36d5b (commit)
       via  ae2e74f051f0322d683083c287838cd573351176 (commit)
       via  ffe645e2d95a8cb3d7393e4457345928d3c3c51b (commit)
       via  b219b00fcd2eae58031da677befdc59483efb8b0 (commit)
       via  95afe9e1935b470587a88eb14824891e7d76afa0 (commit)
       via  3fd10fed12165ecb635f71dc9a632fe753a64ae5 (commit)
       via  a1aae6318276bd7fd6fc20f3ebd2bdbf790e996b (commit)
       via  db3ba3b0c9210e978d54ac8c0b8778d12fa6c93a (commit)
       via  8cf07a5901d7dc1aa3daebc83e58d715e0ad0200 (commit)
      from  d4c4c4c5943feb46aad7f5dad5bcf573933a62a2 (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 43a2283f8a7e22de1b1237b7a5eb8c321ea12c77
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=43a2283f8a7e22de1b1237b7a5eb8c321ea12c77
Author: Ben Pfaff <blp at nicira.com>
		
debian: Use a different way to avoid failing install without kernel module.
		
The dh_installinit --error-handler option makes a lot of sense, but after
playing with it for a while I could not figure out a nice way to use it
only for openvswitch-switch without either duplicating the dh_installinit
fragments in postinst and prerm (the actual bug that was reported) or
omitting them for some package.

Also, we forgot to write the error handler function for the prerm.

This commit switches to a different way to avoid failing the install when
the kernel module is not available, without using --error-handler.

CC: 663051 at bugs.debian.org
Reported-by: Thomas Goirand <zigo at debian.org>
Reviewed-by: Simon Horman <horms at verge.net.au>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit c0888adc527ee158e3c586efc09ee777aaddc9ee
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c0888adc527ee158e3c586efc09ee777aaddc9ee
Author: Ben Pfaff <blp at nicira.com>
		
ovsdb-doc: Use minus sign in negative numbers in nroff output.
		
ovs-vswitchd.conf.db.5 has autogenerated text "at least -1" in one place.
This '-' should be a minus sign, but ovsdb-doc was generating it as a
hyphen.

Found by lintian.

Reported-by: Thomas Goirand <zigo at debian.org>
Reviewed-by: Simon Horman <horms at verge.net.au>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit 3381a0e8766209ad3cc388a1e56b7778931b3805
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=3381a0e8766209ad3cc388a1e56b7778931b3805
Author: Ben Pfaff <blp at nicira.com>
		
ovsdb-doc: Convert '-' preceding a number as a minus sign, not a hyphen.
		
ovs-vswitchd.conf.db.5 contains the following sentence:

   If the interface cannot be added then Open vSwitch sets this column
   to -1.

The '-' in "-1" should be a minus sign, not a hyphen, but the heuristic
in ovsdb-doc wasn't smart enough.  This commit improves the heuristic and
fixes the problem.

Found by lintian.

Reported-by: Thomas Goirand <zigo at debian.org>
Reviewed-by: Simon Horman <horms at verge.net.au>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit 8108cc58dee89da577e667c90f33b11b5ff36d5b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=8108cc58dee89da577e667c90f33b11b5ff36d5b
Author: Ben Pfaff <blp at nicira.com>
		
ovsdb-doc: Put NAME section into generated manpage.
		
This makes the manpage indexable by standard system tools.

Found by lintian.

Reported-by: Thomas Goirand <zigo at debian.org>
Reviewed-by: Simon Horman <horms at verge.net.au>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit ae2e74f051f0322d683083c287838cd573351176
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=ae2e74f051f0322d683083c287838cd573351176
Author: Ben Pfaff <blp at nicira.com>
		
debian: Avoid unit test failure when doing "unofficial" builds.
		
The configure option --with-build-number=0 is interpreted differently in
different places.  The configure script itself accepts 0 as an actual
build number and puts '#define BUILDNR "+build0"' into config.h.  The
code in python/automake.mk treats 0 as "no build number" and puts
'BUILDNR = ""' into version.py.

This commit avoids the problem by not passing 0 as a build number.

Reviewed-by: Simon Horman <horms at verge.net.au>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit ffe645e2d95a8cb3d7393e4457345928d3c3c51b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=ffe645e2d95a8cb3d7393e4457345928d3c3c51b
Author: Thomas Goirand <zigo at debian.org>
		
doc: Fix typo in manpage.
		
Found by lintian.

Reviewed-by: Simon Horman <horms at verge.net.au>
Signed-off-by: Thomas Goirand <zigo at debian.org>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit b219b00fcd2eae58031da677befdc59483efb8b0
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=b219b00fcd2eae58031da677befdc59483efb8b0
Author: Thomas Goirand <zigo at debian.org>
		
debian: Bump standards-version to 3.9.3.
		
No other changes necessary.

Reviewed-by: Simon Horman <horms at verge.net.au>
Signed-off-by: Thomas Goirand <zigo at debian.org>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit 95afe9e1935b470587a88eb14824891e7d76afa0
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=95afe9e1935b470587a88eb14824891e7d76afa0
Author: Thomas Goirand <zigo at debian.org>
		
debian: Remove some useless files from the dkms pacakge.
		
This commit removes useless files from the dkms package that caused
lintian warnings.

(Many of the other files in the dkms package are also useless but do not
cause lintian warnings so they are less important.)

Reviewed-by: Simon Horman <horms at verge.net.au>
Signed-off-by: Thomas Goirand <zigo at debian.org>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit 3fd10fed12165ecb635f71dc9a632fe753a64ae5
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=3fd10fed12165ecb635f71dc9a632fe753a64ae5
Author: Thomas Goirand <zigo at debian.org>
		
debian: Remove po-debconf build dependency.
		
Open vSwitch no longer uses Debconf at all, for some time now.

Reviewed-by: Simon Horman <horms at verge.net.au>
Signed-off-by: Thomas Goirand <zigo at debian.org>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit a1aae6318276bd7fd6fc20f3ebd2bdbf790e996b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=a1aae6318276bd7fd6fc20f3ebd2bdbf790e996b
Author: Thomas Goirand <zigo at debian.org>
		
debian: Build-depend on python-all to pull in all Python versions.
		
Open vSwitch should support all Python versions in the distribution.  This
is the way to do it.

Reviewed-by: Simon Horman <horms at verge.net.au>
Signed-off-by: Thomas Goirand <zigo at debian.org>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit db3ba3b0c9210e978d54ac8c0b8778d12fa6c93a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=db3ba3b0c9210e978d54ac8c0b8778d12fa6c93a
Author: Thomas Goirand <zigo at debian.org>
		
debian: Add missing ${python:Depends} to openvswitch-test package.
		
Reviewed-by: Simon Horman <horms at verge.net.au>
Signed-off-by: Thomas Goirand <zigo at debian.org>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit 8cf07a5901d7dc1aa3daebc83e58d715e0ad0200
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=8cf07a5901d7dc1aa3daebc83e58d715e0ad0200
Author: Thomas Goirand <zigo at debian.org>
		
debian: Improve long descriptions so as to better describe the packages.
		
Reviewed-by: Simon Horman <horms at verge.net.au>
Signed-off-by: Thomas Goirand <zigo at debian.org>
Signed-off-by: Ben Pfaff <blp at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 debian/control                     |  124 +++++++++++++++++++++++++++++-------
 debian/openvswitch-switch.init     |    7 ++
 debian/openvswitch-switch.postinst |   18 +-----
 debian/rules                       |   21 +++++-
 lib/stress-unixctl.man             |    2 +-
 ovsdb/ovsdb-doc.in                 |   22 ++++---
 python/ovs/db/types.py             |   31 ++++++----
 7 files changed, 160 insertions(+), 65 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list