]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: avoid second-level subdir when extracting
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 28 Apr 2015 11:22:36 +0000 (12:22 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Jun 2015 08:41:59 +0000 (09:41 +0100)
commit3378c932570ba2301cd02103225fcf7629de656f
tree9179ab9b3f3e7ac56d3519340b4a1a7ff1fb34b0
parentc5dc3e819c1bb224e3cb667381faa5abf1888362
recipetool: avoid second-level subdir when extracting

When -x was specified, we were getting the normal unpack subdirectory
which we don't really want - if there's only one subdirectory unpacked
then we should effectively copy just it to the extraction path, not as a
subdirectory under it.

(From OE-Core master rev: 0eeecce96a0aa757c2c4c4ac4d82e3bcbf0f982c)

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