[oe] PSTAGE_MIRROR not working with file:// uri
Aeschbacher, Fabrice
Fabrice.Aeschbacher at siemens.com
Sat Jul 16 11:15:46 UTC 2011
Hi Tom,
Thanks, it helped. The key in your code was to return bb.fetch.localpath() - which was not the case in the version we used (release-2010.12)
Anyone interessed in the patch? As far as I can see, this has not been fixed yet in openembedded HEAD.
With kind regards,
Fabrice Aeschbacher
> -----Ursprüngliche Nachricht-----
> Von: openembedded-devel-bounces at lists.openembedded.org
> [mailto:openembedded-devel-bounces at lists.openembedded.org] Im
> Auftrag von Tom Rini
> Gesendet: Freitag, 15. Juli 2011 22:04
> An: openembedded-devel at lists.openembedded.org
> Betreff: Re: [oe] PSTAGE_MIRROR not working with file:// uri
>
> On 07/15/2011 01:48 AM, Aeschbacher, Fabrice wrote:
> > Hi,
> >
> > [bitbake 1.12 / OE 2010.12]
> >
> > I am facing a quite strange issue with packaged-staging
> (INHERIT += "packaged-staging" in local.conf) when trying to
> use a pre-built toolchain.
> [snip]
> > I guess this must already have worked, mainly because of
> this comment in the .bbclass:
> >
> > # To use the prebuilt pstage packages, save them away..
> > # $ rsync --delete -a tmp/pstage/ /there/oe/build/pstage_mirror
> > # .. and use it as mirror in your conf/local.conf:
> > # PSTAGE_MIRROR = "file:///there/oe/build/pstage_mirror"
> >
> > So I wondered if someone can confirm that PSTAGE_MIRROR has
> already worked with a file:/// uri,
> > and could see what I am missing here.
>
> Internally we have code like http://pastebin.com/cb1Nen97 and
> file URIs
> work. Try merging the two and see if that fixes things?
>
> --
> Tom Rini
> Mentor Graphics Corporation
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
More information about the Openembedded-devel
mailing list