]> code.ossystems Code Review - openembedded-core.git/commit
devtool: check that source tree still exists
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 22 Sep 2015 16:21:24 +0000 (17:21 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 22 Sep 2015 17:12:54 +0000 (18:12 +0100)
commit0c3f289576a2ab35b1d1d8854d6763553cc3bf09
tree4bd45d35480717e80f4b2db6eaebe7478b3d211b
parent278f40cce14af430ac1743436132584eedfe792e
devtool: check that source tree still exists

Sometimes, particularly if you extracted the source to /tmp which is on
tmpfs, the external source tree that is being pointed to may no longer
exist when you come to run "devtool build" or "devtool update-recipe"
etc. Make all of the commands that need to check for a recipe being in
the workspace call a single function and have that function additionally
check the source tree still exists where appropriate.

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