[yocto] [yocto-autobuilder][PATCH] ScrapeTargets: use translate instead of regex

2017-07-15 Thread Stephano Cetola
>From some quick tests the string translate function is comparable in efficiency and certainly more legible than regex. We should note that if we ever move this functionality to an environment running python3, the translate function takes one dictionary argument, but functions in much the same way.

[yocto] [yocto-autobuilder][PATCH] yoctogit: add init to submodule update

2017-07-15 Thread Stephano Cetola
We replaced buildbot's standard copy function with our _srccopy function when method=barecopy or movecopy. The srccopy will copy the contents of the "source" directory into the build dir. We cannot assume that submodules have not been added since the buildslave last populated the source dir. Adding

Re: [yocto] How do you build 2 versions of the same recipe and a specific version from bitbake cmd line

2017-07-15 Thread Robert Berger
Hi, On 2017-07-14 23:32, Robert Joslyn wrote: Just to clarify, the typical way this is done is to put the major version number as part of the package name. For example, the recipes could be called zeromq3_3.2.2.bb and zeromq4_4.1.5.bb. This assumes zeromq can tolerate having multiple versions i