[Toaster] [review-request] V2: 5996 The "URI(s) searched" information in the task details page is empty

Reyna, David david.reyna at windriver.com
Tue Apr 8 20:39:35 PDT 2014


Hi Belen,

Try this new commit: dreyna/uri_paths_5996

While I was able to add SSTATE_MIRRORS to my "conf/local.conf", I was unable to get a build to express it in the Variable table (how did you do it?). However, looking at the similar variable PREMIRRORS I was able to observe that the "\n" is actually not a return code char but instead a literal two character '\'+'n' or "\\n" string.

This update should now correctly split the entries, and the regex should no longer swallow all entries but the last, as per your observation.

- David

> -----Original Message-----
> From: Barros Pena, Belen [mailto:belen.barros.pena at intel.com]
> Sent: Tuesday, April 08, 2014 10:32 AM
> To: Reyna, David; Paul Eggleton; DAMIAN, ALEXANDRU
> Cc: toaster at yoctoproject.org
> Subject: Re: [review-request] 5996 The "URI(s) searched" information in the
> task details page is empty
> 
> On 08/04/2014 16:43, "Barros Pena, Belen" <belen.barros.pena at intel.com>
> wrote:
> 
> >With the <code> tag nested inside the <li> tag. That should solve the
> >spacing problem.
> >
> >>The branch is here: dreyna/uri_paths_5996
> >>I simulated a SSTATE_MIRRORS value with this example from the Yocto
> >>documentation page:
> >>    SSTATE_MIRRORS = "\
> >>             file://.* http://someserver.tld/share/sstate/PATH \n \
> >>             file://.* file:///some/local/dir/sstate/PATH"
> >
> >I will set and test this.
> 
> I set the SSTATE_MIRRORS variable as above and ran a build. The value of
> the SSTATE_MIRRORS variable as reported by Toaster is:
> 
> file://.* http://someserver.tld/share/sstate/PATH \n file://.*
> file:///some/local/dir/sstate/PATH
> 
> 
> However, the URIs searched information shows me only the value of
> SSTATE_DIR, and the second line of the SSTATE_MIRRORS value. Like so:
> 
> /home/yocto/poky/build/sstate
> file:///some/local/dir/sstate/PATH
> 
> 
> I might be wrong, but I was expecting to see:
> 
> /home/yocto/poky/build/sstate
> http://someserver.tld/share/sstate/PATH
> 
> file:///some/local/dir/sstate/PATH
> 
> Am I wrong here?
> 
> 
> Cheers
> 
> Belén
> 
> 
> >
> 



More information about the toaster mailing list