generic-poky/scripts/lib
Paul Eggleton 4b4387455c 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].

(From OE-Core rev: 765a9017eaf77ea3204fb10afb8181629680bd82)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-03 23:45:52 +01:00
..
bsp yocto-bsp/yocto-kernel: update to work with the latest kern-tools 2016-08-18 09:27:54 +01:00
devtool lib/oe/patch: commit with a dummy user/email when PATCHTOOL=git 2016-09-03 23:45:52 +01:00
recipetool devtool/recipetool/meta: Adapt to bitbake API changes for multi-configuration builds 2016-08-18 10:07:23 +01:00
wic wic: rawcopy: make source filenames unique 2016-07-21 07:47:52 +01:00
argparse_oe.py scripts/lib/argparse_oe: also change 'positional arguments' to 'arguments' 2016-05-06 10:31:13 +01:00
scriptpath.py scripts: consolidate code to find bitbake path 2014-06-25 13:51:45 +01:00
scriptutils.py scripts: Replace basestring -> str for python3 2016-06-02 08:24:01 +01:00