[OE-core] [PATCH] kernel-yocto: check git config during checkout

Justin Bronder jsbronder at cold-front.org
Fri Feb 9 21:05:52 UTC 2018


Initialize the git config prior creating a git repository in a plain
directory.

Signed-off-by: Justin Bronder <jsbronder at cold-front.org>
---
 meta/classes/kernel-yocto.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 60979a218f..0eb631cfb1 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -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
-- 
2.13.6




More information about the Openembedded-core mailing list