diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-08-29 20:40:38 +1200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-03 09:58:45 +0100 |
commit | 765a9017eaf77ea3204fb10afb8181629680bd82 (patch) | |
tree | 2334bf29e759bd9eb377c153cd76f4a0d114831b /meta/classes/update-rc.d.bbclass | |
parent | 21603566e4a2e709dcb4a940b49d870c91c822be (diff) | |
download | openembedded-core-765a9017eaf77ea3204fb10afb8181629680bd82.tar.gz openembedded-core-765a9017eaf77ea3204fb10afb8181629680bd82.tar.bz2 openembedded-core-765a9017eaf77ea3204fb10afb8181629680bd82.zip |
lib/oe/patch: commit with a dummy user/email when PATCHTOOL=git
When using PATCHTOOL = "git", the user of the system is not really the
committer - it's the build system itself. Thus, specify "dummy" values
for username and email instead of using the user's configured values.
Various parts of the devtool code that need to make commits have also
been updated to use the same logic.
This allows PATCHTOOL = "git" and devtool to be used on systems where
git user.name / user.email has not been set (on versions of git where
it doesn't default a value under this circumstance).
If you want to return to the old behaviour where the externally
configured user name / email are used, set the following in your
local.conf:
PATCH_GIT_USER_NAME = ""
PATCH_GIT_USER_EMAIL = ""
Fixes [YOCTO #8703].
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/update-rc.d.bbclass')
0 files changed, 0 insertions, 0 deletions