]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
classes/buildhistory: use BB_CMDLINE to get bitbake command line paule/buildhistory-cmdline-memres
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 9 Jun 2017 13:13:09 +0000 (15:13 +0200)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 9 Jun 2017 13:46:47 +0000 (15:46 +0200)
commit84c62c20eb28477836a756fbaa71fb6c2e4d7343
tree1c68f118f3244f69da6b3f9e07d7a8b6cc474d36
parent71df198271dfdce83e3141330844cb999e7982b6
classes/buildhistory: use BB_CMDLINE to get bitbake command line

We put the bitbake command line in the buildhistory commit message for
informational purposes, but calling sys.argv to get that as we were
previously doesn't really work in memory resident mode - that gives you
the command used to start the bitbake server which is much less
interesting. Use the just-introduced BB_CMDLINE variable instead.

Part of the fix for [YOCTO #11634].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
meta/classes/buildhistory.bbclass