summaryrefslogtreecommitdiff
path: root/scripts/wipe-sysroot
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-02-19 16:40:04 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-23 08:08:20 +0000
commitdccdde4321c48a571677995a4e1dfc583e899cbe (patch)
treebc72502148735cee53fda16ffa0b29e050e65b90 /scripts/wipe-sysroot
parent73a5bdc7921791b954ca717293e76c7e3091a19e (diff)
downloadopenembedded-core-dccdde4321c48a571677995a4e1dfc583e899cbe.tar.gz
openembedded-core-dccdde4321c48a571677995a4e1dfc583e899cbe.tar.bz2
openembedded-core-dccdde4321c48a571677995a4e1dfc583e899cbe.zip
devtool: fix broken clones of git recipes
Because we move the workdir when extracting source, then move the source and delete the temporary workdir, you lose the indirection symlink pointed to by the alternates file (which is created when the fetcher clones it from DL_DIR with -s) and the resulting repository is broken. In any case, for a source repo that the user may put their own changes into, we can't really rely on a clone made with -s in case the original goes away - because of cleanall, DL_DIR disappearing, etc. So repack the repository so that it is a complete, non-shared clone after unpacking. (While I'm at it, add a test for devtool modify with a git recipe which verifies that this works.) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/wipe-sysroot')
0 files changed, 0 insertions, 0 deletions