Bug 11634

Summary: buildhistory gets wrong command line in commit message with memres
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Eggleton <bluelightning>
Component: coreAssignee: Paul Eggleton <bluelightning>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: Medium CC: meta.mr.watcher, meta.watcher
Version: 2.3   
Target Milestone: 2.4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Paul Eggleton 2017-06-08 13:30:27 UTC
If you start bitbake in memory resident mode and have buildhistory enabled, the command line it records in the commit in the buildhistory repo has the server's command line instead of what was invoked for the build, which isn't very useful.
Comment 1 Paul Eggleton 2017-06-12 15:33:20 UTC
Fix merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=3d4c64fb9ff33a074328c37c7803c13ecc95f689
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=120810c50821919fd231cbd6d63cf27f67338f7a
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=4d1866bd28ddb6a951a9502bc09767221266745a

We introduced a new BB_CMDLINE variable as part of this, but it's pretty low level and thus would probably only need to be documented in the bitbake manual.