[ovs-discuss] Correct way to build debian/ubuntu packages including openvswitch-pki?

Ben Pfaff blp at nicira.com
Fri Feb 10 01:07:21 UTC 2012


On Thu, Feb 09, 2012 at 04:58:40PM -0800, Bob Lantz wrote:
> I am trying to build the debian packages for OVS 1.4.0 on Ubuntu
> 11.10 (and other releases which don't necessarily have a pre-built
> openvswitch package available.)
> 
> If I use
> 
> fakeroot make -f debian/rules binary-arch
> 
> it builds openvswitch-{brcompat,common,controller,dbg,ipsec,switch}_1.4.0-1_amd64.deb
> 
> Unfortunately, openvswitch-controller requires the openvswitch-pki package, which mysteriously has not been built.

The "-arch" suffix means "build architecture-specific packages".
openvswitch-pki is architecture independent (it is a shell script) so
you build it with "binary-indep".  Or, more commonly, just build
"binary", which depends on binary-arch and binary-indep.

(This behavior is not OVS-specific.)



More information about the discuss mailing list