[Toaster] [PATCH 0/4] Fixes for toaster script

Brian Avery avery.brian at gmail.com
Wed Oct 14 13:00:33 PDT 2015


Tried it but had an issue.
To replicate issue
be in a directory that is *not* poky
> ~/src/poky/bitbake/bin/toaster
then make a new project.
you will see that it does not have enough layers. (missing meta and meta-yocto)
building bash then fails with
ShellCmdException: command: git clone ""
"/home/bavery/src/intel/yocto-builds/TOASTER/myBugs2/elliot-cli-8231/managed/_toaster_clones/__master"

fatal: repository '' does not exist


Note, if this is done from the poky directory, it works, but it needs
to work from a build dir as well so people do not *have* to dirty up
their src dir.
-b

On Wed, Oct 14, 2015 at 6:10 AM, Barros Pena, Belen
<belen.barros.pena at intel.com> wrote:
>
>
> On 14/10/2015 13:33, "toaster-bounces at yoctoproject.org on behalf of Ed
> Bartosh" <toaster-bounces at yoctoproject.org on behalf of
> ed.bartosh at linux.intel.com> wrote:
>
>>Hi,
>>
>>This patchset should make toaster script working in both modes.
>>It was not possible due to the way TOASTER_CONF variable was set.
>>
>>The following changes since commit
>>c1ba977bf55424bf9f9e899db89eafa338edccb4:
>>
>>  toaster: importlayer Update property names for importlayer api calls
>>(2015-10-14 14:11:23 +0300)
>>
>>are available in the git repository at:
>>
>>  git://git.yoctoproject.org/poky-contrib
>>ed/toaster/fixes-for-toaster-script
>>
>>http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/toaster/fixes-
>>for-toaster-script
>
> Pending code review, this works for me. I can start toaster in 'build'
> mode the usual way (bitbake/bin/toaster) and I can start toaster in
> 'analysis' mode by sourcing the build environment script, then sourcing
> the toaster script (. ../bitbake/bin/toaster).
>
> Both modes build for me, and cli builds are picked up by Toaster.
>
> Cheers
>
> Belén
>
>>
>>Ed Bartosh (4):
>>  toaster: use path to the script to guess config path
>>  toaster: get rid of SRCFILE
>>  toaster: set TOASTER_MANAGED variable
>>  toaster: exit or return depending on the mode
>>
>> bitbake/bin/toaster | 16 +++++++---------
>> 1 file changed, 7 insertions(+), 9 deletions(-)
>>
>>--
>>2.1.4
>>
>>--
>>_______________________________________________
>>toaster mailing list
>>toaster at yoctoproject.org
>>https://lists.yoctoproject.org/listinfo/toaster
>
> --
> _______________________________________________
> toaster mailing list
> toaster at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/toaster


More information about the toaster mailing list