Bug 2411 - Buildhistory multiple commits broken
Summary: Buildhistory multiple commits broken
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 1.2
Hardware: All Multiple
: High major
Target Milestone: 1.2.1
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard: Fixed
Depends on:
Blocks:
 
Reported: 2012-05-03 23:32 UTC by Paul Eggleton
Modified: 2012-05-08 15:11 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Eggleton 2012-05-03 23:32:56 UTC
With the buildhistory change to commit images and packages changes separately, if both change at once (e.g. when the first build is done with buildhistory enabled) then only images will be committed. This means that the package changes will be silently merged into the next commit that occurs.

This is caused by our old friend the stripping of newlines when echoing a variable value. There is an easy fix - just quote the variable in the echo statement; I will send a patch for this soon.
Comment 1 Paul Eggleton 2012-05-08 13:44:51 UTC
Fix merged in revision 3fd5d4db3b93bccf90b5914076df185d2ebbe371 and queued for 1.2.1.