]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: ensure git clone is standalone when extracting
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 28 Apr 2015 11:25:30 +0000 (12:25 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Jun 2015 08:41:59 +0000 (09:41 +0100)
commitd8f151b6a385f81abead65624ba15d42cbd90e11
tree81ba1b3a97211c81b48c6c4a9abd80ce4d568c1d
parent3378c932570ba2301cd02103225fcf7629de656f
recipetool: ensure git clone is standalone when extracting

If -x is specified and the specified URI was a git repository, we need
to ensure that the resulting clone is a sandalone and not one that has
pointers into the temporary fetch location or DL_DIR (since the git
fetcher does a local clone with -s). Split out the code from devtool
that already does this for "devtool modify -x" and reuse that.

(From OE-Core master rev: fc47e8652ef32e7399f57c80593df90dc52d8b84)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/standard.py
scripts/lib/recipetool/create.py
scripts/lib/scriptutils.py