diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-09-19 08:08:07 +1200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-19 09:06:52 +0100 |
commit | f7e43f931d7d6019a3b2509b2b2635978fbbae36 (patch) | |
tree | 81c33ac1e85768e6464ea5ed21d16cae8aeaf7c9 /meta-selftest/COPYING.MIT | |
parent | 7b018b1d493a8d10fd02b8cc220990b191c87fe5 (diff) | |
download | openembedded-core-f7e43f931d7d6019a3b2509b2b2635978fbbae36.tar.gz openembedded-core-f7e43f931d7d6019a3b2509b2b2635978fbbae36.tar.bz2 openembedded-core-f7e43f931d7d6019a3b2509b2b2635978fbbae36.zip |
recipetool: create: fix error with git tree and no network
When creating a recipe for an existing local git clone, we attempt to
use the fetcher to determine if it supports the SRCREV variable.
Unfortunately running this code does a network check to get the latest
revision as a direct result of us using '${AUTOREV}' as a default value.
If you don't have a network connection this will of course fail. Rather
than have this block creating the recipe, catch the exception and just
guess from the URL.
Ultimately this should probably be fixed in the fetcher but for now this
will at least resolve the issue on this end.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest/COPYING.MIT')
0 files changed, 0 insertions, 0 deletions