All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Wood <michael.g.wood@intel.com>
To: toaster@yoctoproject.org
Subject: Re: [PATCH 04/13] toaster: set BITBAKE_UI environment variable
Date: Tue, 8 Mar 2016 15:25:22 +0000	[thread overview]
Message-ID: <56DEEEE2.3050905@intel.com> (raw)
In-Reply-To: <172915f066188d3830a5f30a3f2a880195c1f35e.1457376135.git.ed.bartosh@linux.intel.com>

On 07/03/16 19:00, Ed Bartosh wrote:
> Set BITBAKE_UI variable to 'toastergui' for command line builds
> to use toasterui as a default ui module for bitbake.
>
> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
> ---
>   bitbake/bin/toaster | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
> index 1e6e690..5cc77ed 100755
> --- a/bitbake/bin/toaster
> +++ b/bitbake/bin/toaster
> @@ -100,6 +100,7 @@ stop_system()
>       unset DATABASE_URL
>       unset TOASTER_CONF
>       unset TOASTER_DIR
> +    unset BITBAKE_UI
>       trap - SIGHUP
>       #trap - SIGCHLD
>       INSTOPSYSTEM=0
> @@ -259,6 +260,7 @@ case $CMD in
>               echo "Failed ${CMD}."
>               return 4
>           fi
> +        export BITBAKE_UI='toasterui'
>           export DATABASE_URL=`$MANAGE get-dburl`
>           $MANAGE runbuilds & echo $! >${BUILDDIR}/.runbuilds.pid
>           # set fail safe stop system on terminal exit

We want to avoid having anything that is required for Toaster to run 
only in /bin/toaster as Toaster needs to be able to work without running 
/bin/toaster in the production set up.



  reply	other threads:[~2016-03-08 15:25 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-07 18:57 [PATCH 00/13] per project build directory Ed Bartosh
2016-03-07 18:57 ` [PATCH 01/13] xmlrpc: fix bug in setting XMLRPCServer.single_use Ed Bartosh
2016-03-07 18:57 ` [PATCH 02/13] toaster: don't start bitbake server Ed Bartosh
2016-03-07 18:59 ` [PATCH 03/13] toaster: get rid of noui option Ed Bartosh
2016-03-07 18:59 ` [PATCH 04/13] toaster: set BITBAKE_UI environment variable Ed Bartosh
2016-03-08 15:25   ` Michael Wood [this message]
2016-03-08 16:46     ` Brian Avery
2016-03-07 18:59 ` [PATCH 05/13] toasterui: add brbe parameter to buildinfohelper Ed Bartosh
2016-03-07 18:59 ` [PATCH 06/13] uievent: improve BBUIEventQueue code Ed Bartosh
2016-03-07 19:00 ` [PATCH 07/13] buildinfohelper: improve handling of providermap Ed Bartosh
2016-03-07 19:00 ` [PATCH 08/13] toasterui: fix brbe reporting Ed Bartosh
2016-03-07 19:01 ` [PATCH 09/13] toaster: remove startBBServer API Ed Bartosh
2016-03-07 19:01 ` [PATCH 10/13] toaster: remove release API Ed Bartosh
2016-03-07 19:01 ` [PATCH 11/13] toaster: add brbe parameter to triggerBuild Ed Bartosh
2016-03-07 19:01 ` [PATCH 12/13] toaster: modified setLayers API Ed Bartosh
2016-03-07 19:01 ` [PATCH 13/13] toaster: reimplement triggerBuild Ed Bartosh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56DEEEE2.3050905@intel.com \
    --to=michael.g.wood@intel.com \
    --cc=toaster@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.