[elbe-devel] [PATCH] pbuilder: use host mirror when cross building

Köry Maincent kory.maincent at bootlin.com
Mon Jan 25 15:48:37 CET 2021


Hello,

I am just following up with this patch, to make sure you did not forget
it. Thanks 

Regards,

Köry

On Wed, 9 Dec 2020 12:27:44 +0100
Torben Hohn <torben.hohn at linutronix.de> wrote:

> On Tue, Nov 24, 2020 at 06:48:22PM +0100, Kory Maincent wrote:
> > If --cross is used with pbuilder, MIRRORSITE should be set to the mirror URL
> > for the host architecture.
> > 
> > Signed-off-by: Kory Maincent <kory.maincent at bootlin.com>  
> 
> Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>
> 
> > ---
> >  elbepack/pbuilder.py | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/elbepack/pbuilder.py b/elbepack/pbuilder.py
> > index 5cae2b986..c83a7cabf 100644
> > --- a/elbepack/pbuilder.py
> > +++ b/elbepack/pbuilder.py
> > @@ -78,7 +78,7 @@ def pbuilder_write_cross_config(builddir, xml, noccache):
> >  
> >      fp.write('#!/bin/sh\n')
> >      fp.write('set -e\n')
> > -    fp.write('MIRRORSITE="%s"\n' % xml.get_primary_mirror(False))
> > +    fp.write('MIRRORSITE="%s"\n' % xml.get_primary_mirror(False,
> > hostsysroot=True)) fp.write('OTHERMIRROR="deb http://127.0.0.1:8080%s/repo
> > %s main"\n' % (builddir, distname))
> >      fp.write('BASETGZ="%s"\n' % os.path.join(builddir, 'pbuilder_cross',
> > 'base.tgz')) -- 
> > 2.17.1
> > 
> > _______________________________________________
> > elbe-devel mailing list
> > elbe-devel at linutronix.de
> > https://lists.linutronix.de/mailman/listinfo/elbe-devel  
> 



More information about the elbe-devel mailing list