[Toaster] [PATCH 00/25] toaster: 8279: Provide a single way of starting Toaster

Barros Pena, Belen belen.barros.pena at intel.com
Mon Nov 9 08:54:54 PST 2015



On 09/11/2015 16:30, "toaster-bounces at yoctoproject.org on behalf of Smith,
Elliot" <toaster-bounces at yoctoproject.org on behalf of
elliot.smith at intel.com> wrote:

>Just to clarify, I tested the v4 branch with 2 patches cherry-picked.
>
>
>Branch:
>
>ed/toaster/8279-v4
>
>Patches (to remove SDKMACHINE):
>
>d5f682695c9f0005eb0713b4e302f36a22f80a9e
>0c4206c68d3089741525681c3ce0d2f96c09d451

I tested in the same way, and it also works for me. However, I found that
when you run build from the toaster GUI, the toaster process stayed in the
foreground, so I was not able to start a build from command line
afterwards. But if you press enter, you are dropped back to your shell.
Elliot explained: "well, you are technically dropped back to the shell,
it's just that toaster is being a bit naughty and writing to stdout, which
is a bit confusing, because you can't see the prompt".

This indeed caused me quite a bit of confusion. If it's easy to fix, it
would be good to do so, so that after the build completes you are cleanly
dropped back to your shell and everything is ready to start a command line
build if that's what you want to do.

Cheers

Belén

>
>
>
>Elliot
>
>
>On 9 November 2015 at 16:23, Smith, Elliot
><elliot.smith at intel.com> wrote:
>
>On 27 October 2015 at 17:27, Ed Bartosh
><ed.bartosh at linux.intel.com> wrote:
>
>This patchset merges two Toaster modes in one:
>
>To run toaster you should source it in already prepared build environment:
>  cd poky
>  . oe-init-build-env
>  . ../bitbake/bin/toaster
>
>After that you should be able to trigger builds both ways:
>from command line and from toaster UI.
>
>
>
>
>This works fine for me.
>
>
>I'm able to run builds from the command line and from Toaster, and the
>data about those builds appears to be complete.
>
>
>I have also gone through the code, and can't see any glaring issues with
>it.
>
>
>Elliot
> 
>
>
>The following changes since commit
>8a0d8eee432924433c3e70198aaeab3161476c5f:
>
>  toaster manual: Updated the set up and use chapter (2015-10-27 07:28:22
>+0000)
>
>are available in the git repository at:
>
>  git://git.yoctoproject.org/poky-contrib
><http://git.yoctoproject.org/poky-contrib> ed/toaster/8279-v3
>  
>http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/toaster/8279-v
>3 
><http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/toaster/8279-
>v3>
>
>Ed Bartosh (24):
>  toaster: don't allow to run toaster as a script
>  toaster: implement get-dburl command
>  toaster: set DATABASE_URL in toaster script
>  toaster: run bitbake the same way
>  toaster: remove unused variable
>  toaster: check for toaster configuration later
>  toaster: use parent of the build dir
>  toaster: make runbuilds to loop
>  toaster: start 'manage.py runbuilds' in the script
>  toaster: update brbe and project attributes
>  toaster: implement stop_bitbake function
>  toaster: implement start_bitbake function
>  toaster: implement 'toaster restart-bitbake'
>  toaster: remove _setupBE function
>  toaster: reimplemented startBBServer method
>  toaster: remove stopBBServer API
>  toaster: do not terminate bb server
>  toaster: remove usage of BUILD_MODE variable
>  toaster: do not create duplicate HelpText objects
>  toaster: implement BitbakeController.getVariable
>  toaster: set varibales on bitbake server
>  toaster: remove writeConfFile API
>  toaster: stop using toaster-pre.conf
>  toaster: remove SDKMACHINE from project variables
>
>Michael Wood (1):
>  toaster: buildinfohelper Broaden the toaster created recipe data case
>
> bitbake/bin/toaster                                | 186
>+++++++--------------
> bitbake/lib/bb/ui/buildinfohelper.py               |  23 +--
> bitbake/lib/bb/ui/toasterui.py                     |  15 +-
> bitbake/lib/toaster/bldcontrol/bbcontroller.py     |  15 +-
> .../toaster/bldcontrol/localhostbecontroller.py    | 132 ++++-----------
> .../bldcontrol/management/commands/runbuilds.py    |  13 +-
> bitbake/lib/toaster/bldcontrol/sshbecontroller.py  |  10 --
> bitbake/lib/toaster/bldcontrol/tests.py            |   4 -
> bitbake/lib/toaster/toastergui/templates/base.html |  13 +-
> .../lib/toaster/toastergui/templates/landing.html  |  10 --
> .../toaster/toastergui/templates/projectconf.html  |  70 +-------
> bitbake/lib/toaster/toastergui/tests.py            |   4 -
> bitbake/lib/toaster/toastergui/views.py            |  29 ----
> .../toastermain/management/commands/get-dburl.py   |   9 +
> bitbake/lib/toaster/toastermain/settings.py        |   3 -
> bitbake/lib/toaster/toastermain/urls.py            |   9 +-
> 16 files changed, 142 insertions(+), 403 deletions(-)
> create mode 100644
>bitbake/lib/toaster/toastermain/management/commands/get-dburl.py
>
>--
>Ed
>
>--
>_______________________________________________
>toaster mailing list
>toaster at yoctoproject.org
>https://lists.yoctoproject.org/listinfo/toaster
>
>
>
>
>
>
>
>
>
>-- 
>Elliot Smith
>Software Engineer
>Intel Open Source Technology Centre
>
>
>
>
>
>
>
>
>
>
>
>-- 
>Elliot Smith
>Software Engineer
>Intel Open Source Technology Centre
>
>
>



More information about the toaster mailing list