]> 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>
Fri, 1 May 2015 16:08:10 +0000 (17:08 +0100)
commitfc47e8652ef32e7399f57c80593df90dc52d8b84
treef96a2ba90dede5ab247ab229d37e851cbfbe666e
parent0eeecce96a0aa757c2c4c4ac4d82e3bcbf0f982c
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.

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