generic-poky/bitbake/lib
Paul Eggleton 30613467d8 bitbake: cooker: add BB_CMDLINE to enable access to UI command line with memres
In OpenEmbedded's buildhistory class we want access to the bitbake
command line that launched the build, and up to now we were simply using
sys.argv from within the event handler to get that. Unfortunately that
doesn't work in memory resident mode, since the event handler is
naturally executing within the server and thus will give you the command
that launched the bitbake server which is much less interesting. Add a
dynamic variable BB_CMDLINE to provide access to this, set from sys.argv
within the UI process in updateToServer().

(Note that BB_CMDLINE isn't currently passed through to the worker, so
this is only really readable from event handlers plus any explicit
getVariable calls - in theory an observe-only UI could read it for
example.)

Part of the fix for [YOCTO #11634].

(Bitbake rev: 85596c9af3bb6407159c6c8de229cbe275aa74ea)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-21 17:20:11 +01:00
..
bb bitbake: cooker: add BB_CMDLINE to enable access to UI command line with memres 2017-09-21 17:20:11 +01:00
bblayers bitbake: bitbake-layers: fix layerindex-fetch for Python 3 2017-03-22 11:35:22 +00:00
bs4 bitbake: lib/bs4: Fix imports from html5lib >= 0.9999999/1.0b8 2016-12-07 10:43:20 +00:00
ply bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
progressbar bitbake: lib: implement basic task progress support 2016-07-08 09:57:26 +01:00
prserv bitbake: prserv/persist_data/utils: Drop obsolete python2 imports 2017-01-09 13:39:13 +00:00
simplediff bitbake: lib/bb/siggen: show word-diff for single-line values containing spaces 2017-04-10 23:00:32 +01:00
toaster bitbake: toaster: recipe links broken for default layers 2017-09-21 16:51:07 +01:00
codegen.py bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
pyinotify.py bitbake: bitbake/pyinotify.py: Upgrade to py3 version 2016-06-02 08:24:02 +01:00