From: Ben Pfaff <blp@nicira.com>
Date: Fri, 10 Feb 2012 19:00:54 +0000 (-0800)
Subject: debian: Fix dependencies for openvswitch-datapath-dkms package.
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c7eb388e15932eaf059d0b1f6638260880be441;p=openvswitch

debian: Fix dependencies for openvswitch-datapath-dkms package.

The OVS kernel module, like other kernel modules, does not need a working
userspace build environment, but the OVS "configure" script and makefiles
don't support a kernel-only build, so "configure" fails if libc6-dev is
not installed.

It would be better to change the "configure" script and makefiles to handle
this special case, but that was more work than I initially expected it to
be.

Bug #8606.
Reported-by: Edwin Chiu <echiu@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
---

diff --git a/debian/control b/debian/control
index 4f714652..09a26b1d 100644
--- a/debian/control
+++ b/debian/control
@@ -25,7 +25,7 @@ Description: Open vSwitch datapath module source - module-assistant version
 
 Package: openvswitch-datapath-dkms
 Architecture: all
-Depends: dkms (>= 1.95), make, ${misc:Depends}
+Depends: dkms (>= 1.95), make, libc6-dev, ${misc:Depends}
 Description: Open vSwitch datapath module source - DKMS version
  This package provides the Open vSwitch datapath module source code
  that is needed by openvswitch-switch.  DKMS can built the kernel