Bug 11634 - buildhistory gets wrong command line in commit message with memres
Summary: buildhistory gets wrong command line in commit message with memres
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: Medium minor
Target Milestone: 2.4
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-06-08 13:30 UTC by Paul Eggleton
Modified: 2017-06-12 15:33 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.