diff mbox series

[rdma-core,4/5] cbuild: Do not use the http proxy for tumbleweed

Message ID 20190514233028.3905-5-jgg@ziepe.ca (mailing list archive)
State Not Applicable
Headers show
Series Build system updates | expand

Commit Message

Jason Gunthorpe May 14, 2019, 11:30 p.m. UTC
From: Jason Gunthorpe <jgg@mellanox.com>

It also does not work with apt-cacher-ng because the server generates
redirects for some reason.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
---
 buildlib/cbuild | 1 +
 1 file changed, 1 insertion(+)

Comments

Leon Romanovsky May 15, 2019, 5:33 a.m. UTC | #1
On Tue, May 14, 2019 at 08:30:27PM -0300, Jason Gunthorpe wrote:
> From: Jason Gunthorpe <jgg@mellanox.com>
>
> It also does not work with apt-cacher-ng because the server generates
> redirects for some reason.
>
> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
> ---
>  buildlib/cbuild | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/buildlib/cbuild b/buildlib/cbuild
> index a659a77fc5bb74..e012b08b5fbb76 100755
> --- a/buildlib/cbuild
> +++ b/buildlib/cbuild
> @@ -360,6 +360,7 @@ class leap(ZypperEnvironment):
>      aliases = {"leap"};
>
>  class tumbleweed(ZypperEnvironment):
> +    proxy = False;

It should be set in ZypperEnvironment, because both leap and tumbleweed
have this line now.

Thanks

>      docker_parent = "opensuse/tumbleweed:latest";
>      pkgs = leap.pkgs;
>      name = "tumbleweed";
> --
> 2.21.0
>
Jason Gunthorpe May 15, 2019, 3:19 p.m. UTC | #2
On Wed, May 15, 2019 at 08:33:34AM +0300, Leon Romanovsky wrote:
> On Tue, May 14, 2019 at 08:30:27PM -0300, Jason Gunthorpe wrote:
> > From: Jason Gunthorpe <jgg@mellanox.com>
> >
> > It also does not work with apt-cacher-ng because the server generates
> > redirects for some reason.
> >
> > Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
> >  buildlib/cbuild | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/buildlib/cbuild b/buildlib/cbuild
> > index a659a77fc5bb74..e012b08b5fbb76 100755
> > +++ b/buildlib/cbuild
> > @@ -360,6 +360,7 @@ class leap(ZypperEnvironment):
> >      aliases = {"leap"};
> >
> >  class tumbleweed(ZypperEnvironment):
> > +    proxy = False;
> 
> It should be set in ZypperEnvironment, because both leap and tumbleweed
> have this line now.

done

Jason
diff mbox series

Patch

diff --git a/buildlib/cbuild b/buildlib/cbuild
index a659a77fc5bb74..e012b08b5fbb76 100755
--- a/buildlib/cbuild
+++ b/buildlib/cbuild
@@ -360,6 +360,7 @@  class leap(ZypperEnvironment):
     aliases = {"leap"};
 
 class tumbleweed(ZypperEnvironment):
+    proxy = False;
     docker_parent = "opensuse/tumbleweed:latest";
     pkgs = leap.pkgs;
     name = "tumbleweed";