summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2022-11-09 04:29:34 -1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-10 14:43:30 +0000
commit186d1796149c94522c746d76973adbfd61313f21 (patch)
treee6b7c1435cacc07564759fa2bf1a6216ea402515
parent975e3fb53cd69ce4d1267874c801175c90008453 (diff)
downloadpoky-186d1796149c94522c746d76973adbfd61313f21.tar.gz
bitbake: fetch2/git: don't set core.fsyncobjectfiles=0
This git configuration variable is deprecated in 2.36.0 onwards, so git warns in the logs for every git call. Luckily the default value has always been false[1], so we can just remove this. [ YOCTO #14939 ] [1] https://github.com/git/git/commit/aafe9fbaf4f1d1f27a6f6e3eb3e246fff81240ef (Bitbake rev: 13f86aeb53cd73c03bfb2f00fe923b51ec8d1c73) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8ad310633e0c5d5593631c1196cbdde30147efce) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/fetch2/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index 17d4904927..578edc5914 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -243,7 +243,7 @@ class Git(FetchMethod):
243 for name in ud.names: 243 for name in ud.names:
244 ud.unresolvedrev[name] = 'HEAD' 244 ud.unresolvedrev[name] = 'HEAD'
245 245
246 ud.basecmd = d.getVar("FETCHCMD_git") or "git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat" 246 ud.basecmd = d.getVar("FETCHCMD_git") or "git -c gc.autoDetach=false -c core.pager=cat"
247 247
248 write_tarballs = d.getVar("BB_GENERATE_MIRROR_TARBALLS") or "0" 248 write_tarballs = d.getVar("BB_GENERATE_MIRROR_TARBALLS") or "0"
249 ud.write_tarballs = write_tarballs != "0" or ud.rebaseable 249 ud.write_tarballs = write_tarballs != "0" or ud.rebaseable