summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-05-10 08:05:43 -1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-05-12 13:41:42 +0100
commit0d81d82645591925347d0d0fd2778c01a97cb9fb (patch)
tree3de483c6002313b964ffd29cc4be31bcd1985f7f /bitbake
parentfe1a4d124072b304770fc8d605257a2a7923ad2a (diff)
downloadpoky-0d81d82645591925347d0d0fd2778c01a97cb9fb.tar.gz
bitbake: fetch/git : Use cat as pager
We don't have less in HOSTTOOLS in OE and this can confuse git. Force the pager to cat to be consistent and minimal everywhere. (Bitbake rev: 59c16ae6c55c607c56efd2287537a1b97ba2bf52) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d3d406e8552fdd865dc58b419a84411736475ad2) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-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 b3eb8248d0..f0df6fb69b 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -240,7 +240,7 @@ class Git(FetchMethod):
240 for name in ud.names: 240 for name in ud.names:
241 ud.unresolvedrev[name] = 'HEAD' 241 ud.unresolvedrev[name] = 'HEAD'
242 242
243 ud.basecmd = d.getVar("FETCHCMD_git") or "git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false" 243 ud.basecmd = d.getVar("FETCHCMD_git") or "git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat"
244 244
245 write_tarballs = d.getVar("BB_GENERATE_MIRROR_TARBALLS") or "0" 245 write_tarballs = d.getVar("BB_GENERATE_MIRROR_TARBALLS") or "0"
246 ud.write_tarballs = write_tarballs != "0" or ud.rebaseable 246 ud.write_tarballs = write_tarballs != "0" or ud.rebaseable