[prev in list] [next in list] [prev in thread] [next in thread]
List: openvswitch-discuss
Subject: [ovs-discuss] Fix debian cross build
From: blp () nicira ! com (Ben Pfaff)
Date: 2014-08-26 18:45:53
Message-ID: 20140826184553.GL27040 () nicira ! com
[Download RAW message or body]
Thanks, applied to master and the branches for 2.[3210]. It should be
in my next Debian upload too.
On Tue, Aug 26, 2014 at 11:37:07AM -0700, Ed Swierk wrote:
> Sure, here you go.
>
>
>
> On Tue, Aug 26, 2014 at 11:31 AM, Ben Pfaff <blp at nicira.com> wrote:
>
> > On Sun, Aug 24, 2014 at 10:37:29AM -0700, Ed Swierk wrote:
> > > Cross-building openvswitch with debuild -aARCH (or equivalent) fails
> > > because the target architecture is not getting passed to configure.
> > > Thus binaries like ovs-appctl get built using the build host
> > > architecture.
> > >
> > > The attached one-line change to debian/rules fixes the problem.
> >
> > Thanks, can you provide a Signed-off-by?
> >
> > Tags
> > ----
> >
> > The description ends with a series of tags, written one to a line as
> > the last paragraph of the email. Each tag indicates some property of
> > the patch in an easily machine-parseable manner.
> >
> > Examples of common tags follow.
> >
> > Signed-off-by: Author Name <author.name at email.address...>
> >
> > Informally, this indicates that Author Name is the author or
> > submitter of a patch and has the authority to submit it under
> > the terms of the license. The formal meaning is to agree to
> > the Developer's Certificate of Origin (see below).
> >
> > If the author and submitter are different, each must sign off.
> > If the patch has more than one author, all must sign off.
> >
> > Signed-off-by: Author Name <author.name at email.address...>
> > Signed-off-by: Submitter Name <submitter.name at email.address...>
> >
> > Developer's Certificate of Origin
> > ---------------------------------
> >
> > To help track the author of a patch as well as the submission chain,
> > and be clear that the developer has authority to submit a patch for
> > inclusion in openvswitch please sign off your work. The sign off
> > certifies the following:
> >
> > Developer's Certificate of Origin 1.1
> >
> > By making a contribution to this project, I certify that:
> >
> > (a) The contribution was created in whole or in part by me and I
> > have the right to submit it under the open source license
> > indicated in the file; or
> >
> > (b) The contribution is based upon previous work that, to the best
> > of my knowledge, is covered under an appropriate open source
> > license and I have the right under that license to submit that
> > work with modifications, whether created in whole or in part
> > by me, under the same open source license (unless I am
> > permitted to submit under a different license), as indicated
> > in the file; or
> >
> > (c) The contribution was provided directly to me by some other
> > person who certified (a), (b) or (c) and I have not modified
> > it.
> >
> > (d) I understand and agree that this project and the contribution
> > are public and that a record of the contribution (including all
> > personal information I submit with it, including my sign-off) is
> > maintained indefinitely and may be redistributed consistent with
> > this project or the open source license(s) involved.
> >
> Fix cross debian build
>
> Signed-off-by: Ed Swierk <eswierk at skyportsystems.com>
>
> diff --git a/debian/rules b/debian/rules
> index 799bf2e..d1932a1 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -45,7 +45,7 @@ configure-stamp:
> cd _debian && ( \
> test -e Makefile || \
> ../configure --prefix=/usr --localstatedir=/var --enable-ssl \
> - --sysconfdir=/etc CFLAGS="$(CFLAGS)" \
> + --sysconfdir=/etc --host=$(DEB_HOST_GNU_TYPE) CFLAGS="$(CFLAGS)" \
> $(buildflags) $(DATAPATH_CONFIGURE_OPTS))
> touch configure-stamp
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic