diff options
author | Ross Burton <ross.burton@arm.com> | 2022-10-28 18:15:35 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-10-29 16:22:09 +0100 |
commit | d1cd7dc31c954af6bb925cda60b915397ab2944c (patch) | |
tree | 6e5bf85dbd0292e258ad58664bd7149d069be43e /bitbake | |
parent | b44fbe5b1b425b8a8c23e4f0ba80583944ab303a (diff) | |
download | poky-d1cd7dc31c954af6bb925cda60b915397ab2944c.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: 8ad310633e0c5d5593631c1196cbdde30147efce)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 2 |
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 |