I'm not able to set PREMIRRORS BitBake variable with Toaster. How to reproduce: - Create a new project - Go to the page 'BitBake Variables' - Try to add a new variable which contains spaces, e.g. PREMIRRORS (it must contain spaces) - Toaster shows an error dialog Regards
The problem is on krogoth stable: I can't reproduce this with toaster-next. I don't think the spaces are the issue. Entering this git://.*/* http://<my-ip>/yocto-cache http://.*/* In the "value" field prompts the problem. I've attached a screenshot.
Created attachment 3377 [details] error.png
I also cannot replicate in toaster-next. I am setting up a krogoth installation.
Created attachment 3381 [details] Bitbake variables containing ':' cannot be set in Toaster, this patch fixes it
I backported the fix from toaster-next to krogoth. The problem occurs when the value of a variable contains ':'.
Another question. With the above patch i'm able to set a variable containing ':' but what about multi-line values like in the case of PREMIRRORS, do i concatenate all lines ?
(In reply to comment #6) > Another question. > With the above patch i'm able to set a variable containing ':' but > what about multi-line values like in the case of PREMIRRORS, do i > concatenate all lines ? Concatenating the lines should work. If it doesn't, please leave a comment and we'll look into it. Thanks!
(In reply to comment #4) > Created attachment 3381 [details] > Bitbake variables containing ':' cannot be set in Toaster, this patch fixes > it Wonderful: thanks for the patch. Any chance you could submit it to the Toaster mailing list? That way we can start the process of merging it to the next version of 2.1 You can subscribe to the mailing list from here https://lists.yoctoproject.org/listinfo/toaster And here are some instructions on how to send the patch: https://wiki.yoctoproject.org/wiki/Contribute_to_Toaster If you have any questions, let us know.
(In reply to comment #8) > (In reply to comment #4) > > Created attachment 3381 [details] > > Bitbake variables containing ':' cannot be set in Toaster, this patch fixes > > it > > Wonderful: thanks for the patch. Any chance you could submit it to the > Toaster mailing list? That way we can start the process of merging it to the > next version of 2.1 > > You can subscribe to the mailing list from here > > https://lists.yoctoproject.org/listinfo/toaster > > And here are some instructions on how to send the patch: > > https://wiki.yoctoproject.org/wiki/Contribute_to_Toaster > > If you have any questions, let us know. Done.
Patch submitted to the toaster mailing list https://lists.yoctoproject.org/pipermail/toaster/2016-August/005120.html
http://cgit.openembedded.org/bitbake/commit/?h=1.30&id=bee144eeed6c08ec2829533e82f94405058ce453