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: [email protected] > [mailto:[email protected]] Im > Auftrag von Tom Rini > Gesendet: Freitag, 15. Juli 2011 22:04 > An: [email protected] > 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 > [email protected] > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel > _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
