From: Ben Warren <[email protected]>

The existing packages were not configured properly for
cross-compilation.  In particular, development packages and their
dependencies should not require executables.

A new package, 'libopenvswitch', is introduced, which contains the
library files (*.so and *.a), while 'openvswitch-dev' is renamed
to 'libopenvswitch-dev' to be consistent with other development
packages.

Finally, the packages are modified to make use of "Multi-Arch", 
which places library files in architecture-specific locations in
the file systems.  For example:

Without Multi-Arch:
    /usr/lib/libopenvswitch-2.so.7

With Multi-Arch:
    /usr/lib/x86_64-linux-gnu/libopenvswitch-2.so.7

allowing multiple architectures to co-exist and thus making cross-
compiling easier.

Ben Warren (2):
  Debian: Rework libopenvswitch packages
  Debian: Provide multi-arch support

 debian/.gitignore                 |  4 +++-
 debian/automake.mk                |  3 ++-
 debian/compat                     |  2 +-
 debian/control                    | 26 ++++++++++++++++++++++++--
 debian/libopenvswitch-dev.install | 11 +++++++++++
 debian/libopenvswitch.install     |  1 +
 debian/openvswitch-common.install |  1 -
 debian/openvswitch-dev.install    | 11 -----------
 8 files changed, 42 insertions(+), 17 deletions(-)
 create mode 100644 debian/libopenvswitch-dev.install
 create mode 100644 debian/libopenvswitch.install
 delete mode 100644 debian/openvswitch-dev.install

-- 
2.6.4

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to