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

Bob Lantz rlantz at cs.stanford.edu
Fri Feb 10 01:15:49 UTC 2012


Thanks Ben - for some reason I had switched to binary-arch (no doubt after fatiguing my brain by reading reams of Debian build arcana) but clearly binary is the right target.

On Feb 9, 2012, at 5:07 PM, Ben Pfaff wrote:

> 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