aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-02-11 14:13:35 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-11 12:32:56 +0000
commit8bbbd2d63f1bc752f9a30054a089dc2caf5fd84c (patch)
tree3bfe3d94ce20ebb11b6c76eecf25d71138106b51
parent3ca04757a670e8b6f78799cc0454d75691809ac4 (diff)
downloadopenembedded-core-contrib-8bbbd2d63f1bc752f9a30054a089dc2caf5fd84c.tar.gz
recipetool: create: set S when we set SRC_URI from local git repo
If you specify a local directory which happens to be a git repository with an origin remote (and it is in fact remote), we can use that for SRC_URI as implemented by OE-Core revision b143d414846854dc8b3e0a47358daf5646eded38, however we also need to set S if the recipe is going to be of any use fetching from that SRC_URI later. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--scripts/lib/recipetool/create.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py
index daf13fb50e6..3e4bab8afeb 100644
--- a/scripts/lib/recipetool/create.py
+++ b/scripts/lib/recipetool/create.py
@@ -369,6 +369,7 @@ def create_recipe(args):
if len(splitline) > 1:
if splitline[0] == 'origin' and '://' in splitline[1]:
srcuri = reformat_git_uri(splitline[1])
+ srcsubdir = 'git'
break
if args.src_subdir: