diff options
author | Yu Ke <ke.yu@intel.com> | 2011-01-19 00:22:13 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-02 17:05:48 +0000 |
commit | 3a3fc6b071f09970e7f79fb4f1a8f0013917371e (patch) | |
tree | ddb61d528463955a157afbf1e0471bf941536251 /meta | |
parent | d1ed18812394ffea9d90fc48f2d806df78a9e3e0 (diff) | |
download | openembedded-core-3a3fc6b071f09970e7f79fb4f1a8f0013917371e.tar.gz openembedded-core-3a3fc6b071f09970e7f79fb4f1a8f0013917371e.tar.bz2 openembedded-core-3a3fc6b071f09970e7f79fb4f1a8f0013917371e.tar.xz openembedded-core-3a3fc6b071f09970e7f79fb4f1a8f0013917371e.zip |
bb.fetch2: Add git unpack
The git download method clones the git repository to the local machine. The unpack process
can be optimised to be a local to local machine clone or a direct readtree operation to the
destination using git.will clone git repo to local, so git unpack can be simplified
to only checkouting the code to the work dir. For fullclone case, we also
need to manually copy all the ref info, which is needed by the later do_kernel_checkout().
Rather than use hardlinks, we reference the repository using alternatives since the
download directory may be on a different filesystem.
[Change to use -s by Richard Purdie]
Signed-off-by: Yu Ke <ke.yu@intel.com>
Diffstat (limited to 'meta')
0 files changed, 0 insertions, 0 deletions