]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel-yocto: check git config during checkout
authorJustin Bronder <jsbronder@cold-front.org>
Fri, 9 Feb 2018 21:05:52 +0000 (16:05 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 3 Mar 2018 17:08:29 +0000 (17:08 +0000)
Initialize the git config prior creating a git repository in a plain
directory.

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/kernel-yocto.bbclass

index 663c6557d9b550d3fc2947f637c2339d7b08dfd3..4ac3a39e4750caac300f5531dcd7e3e37f011d5a 100644 (file)
@@ -247,6 +247,7 @@ do_kernel_checkout() {
                fi
                rm -f .gitignore
                git init
+               check_git_config
                git add .
                git commit -q -m "baseline commit: creating repo for ${PN}-${PV}"
                git clean -d -f