mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 03:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
8557475e37
commit
088b3b8c4c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user