diff options
author | Stephano Cetola <stephano.cetola@linux.intel.com> | 2016-10-03 16:32:45 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-10-07 16:43:57 +0100 |
commit | ef7828c9f2955dfde09a0c83694c8a67cdc34b40 (patch) | |
tree | 4c933927823ebc4be8ac7ff60ca44bb8b8f3fd57 /meta/classes/bin_package.bbclass | |
parent | 4454d024485d671ded558e3c617900f6fad414a4 (diff) | |
download | poky-ef7828c9f2955dfde09a0c83694c8a67cdc34b40.tar.gz |
utils.bbclass: add function to check for git config user
If attempting to patch a git repo without a proper git config setup,
an error will occur saying user.name/user.email are needed by git
am/apply. After some code was removed from kernel-yocto, it was
simple enough to reproduce this error by creating a kernel patch and
using a container to build.
This patch abstracts out functionality that existed in buildhistory
for use in other classes. It also adds a call to this functionality
to the kernel-yocto class.
Fixes [YOCTO #10346]
introduced in OE-core revision
0f698dfd1c8bbc0d53ae7977e26685a7a3df52a3
(From OE-Core rev: 25b43cb05c645e43f96bc18906441b8fdc272228)
Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/bin_package.bbclass')
0 files changed, 0 insertions, 0 deletions