Skip to content

git fetcher unpack optimization V2

Yu Ke poky 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3bb.fetch2: add git unpackbitbake/lib/bb/fetch2/git.py+25 -00 replies
2/3kernel-yocto.bbclass: adjust the git dir to fit with git unpackmeta/classes/kernel-yocto.bbclass+2 -20 replies
3/3git.py: remove the source tree tar ballbitbake/lib/bb/fetch2/git.py+5 -580 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] git fetcher unpack optimization V2

From: Yu Ke <[email protected]>

This is the remaining patches of last fetcher patch pull, including
- optimize git unpack method to use git local clone
- not to create the source tree mirror tar ball

With Richar and Bruce's comment, this patch is revised accordingly, the major chagnes compared with V1 is:
- use git local clone instead of git repo copy to save disk space

it has been tested with "bitbake poky-image-sato" with empty DL_DIR

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: kyu3/git-unpack-2
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kyu3/git-unpack-2

Thanks,
Yu Ke <[email protected]>
---

Yu Ke (3):
bb.fetch2: add git unpack
kernel-yocto.bbclass: adjust the git dir to fit with git unpack git.py: remove the source tree tar ball

 bitbake/lib/bb/fetch2/git.py      |   66 ++++++++++--------------------------
 meta/classes/kernel-yocto.bbclass |    4 +-
 2 files changed, 21 insertions(+), 49 deletions(-)