[elbe-devel] [PATCH] pbuilder: use host mirror when cross building
Torben Hohn
torben.hohn at linutronix.de
Wed Feb 10 12:31:14 CET 2021
On Mon, Jan 25, 2021 at 03:48:37PM +0100, Köry Maincent wrote:
> Hello,
>
> I am just following up with this patch, to make sure you did not forget
> it. Thanks
Thank for the reminder.
Its merged now.
>
> 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
> >
>
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel
--
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99
Hinweise zum Datenschutz finden Sie hier (Informations on data privacy
can be found here): https://linutronix.de/kontakt/Datenschutz.php
Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen |
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner
More information about the elbe-devel
mailing list