]> code.ossystems Code Review - openembedded-core.git/commit
classes/buildhistory: ensure that git user email and name are set
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 21 May 2015 12:16:34 +0000 (13:16 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 23 May 2015 06:56:10 +0000 (07:56 +0100)
commitf62255bfa6c5a322c867b7c4ea5686ea7bfab3fe
tree47a8eae420644434228cd59e4526eac2d21fac64
parent1964b697ddadc59e27087f9f1f6b24236f4addcc
classes/buildhistory: ensure that git user email and name are set

The git user.email and user.name settings must be set or the commit to
the buildhistory repo (when BUILDHISTORY_COMMIT is set to "1") will
fail. If the user hasn't set these, set some dummy values since the
actual value is unlikely to be particularly useful and it's far worse
for the commit not to be done leaving the repository in a partially set
up state.

Prompted by [YOCTO #6973].

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