summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorJustin Bronder <jsbronder@cold-front.org>2018-02-09 16:05:52 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-04 11:35:40 +0000
commit088b3b8c4c041caa73bdcfc2e897bd1d0f4f679b (patch)
treee452884a326e4e4870eaad857443cd22e19ffba2 /meta/classes
parent8557475e37baf5a9e20583812a26745e3601f382 (diff)
downloadpoky-088b3b8c4c041caa73bdcfc2e897bd1d0f4f679b.tar.gz
kernel-yocto: check git config during checkout
Initialize the git config prior creating a git repository in a plain directory. (From OE-Core rev: 0e3a9bed988b5fd4de770fe8cd1160b9f6c8c365) Signed-off-by: Justin Bronder <jsbronder@cold-front.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel-yocto.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 663c6557d9..4ac3a39e47 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -247,6 +247,7 @@ do_kernel_checkout() {
247 fi 247 fi
248 rm -f .gitignore 248 rm -f .gitignore
249 git init 249 git init
250 check_git_config
250 git add . 251 git add .
251 git commit -q -m "baseline commit: creating repo for ${PN}-${PV}" 252 git commit -q -m "baseline commit: creating repo for ${PN}-${PV}"
252 git clean -d -f 253 git clean -d -f