]> code.ossystems Code Review - openembedded-core.git/commit
buildhistory: avoid quoting issues with the layer list for build-id
authorChristopher Larson <kergoth@gmail.com>
Fri, 23 Dec 2011 16:23:57 +0000 (09:23 -0700)
committerSaul Wold <sgw@linux.intel.com>
Tue, 3 Jan 2012 04:26:22 +0000 (20:26 -0800)
commitf74c500a0d3979dea7393524e71ca7ec03bb5fde
tree52d9b1b10be3cd4b51b9cf73dd6ab4ec738460c6
parent09b1dc8bd886c8cd2a5d4085d8bb4b73ece1f5b0
buildhistory: avoid quoting issues with the layer list for build-id

--4ef4ab1d_66334873_12d0c
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

The layer list is multiline, and includes quotes, so including it within
quotes is problematic, particularly if the revision includes characters which
are not valid outside of a quoted string in shell. To reproduce this failure:
do a build with an scm layer not on a branch.

Signed-off-by: Christopher Larson <chris_larson@mentor.com (mailto:chris_larson@mentor.com)>
meta/classes/buildhistory.bbclass