From: Paul Eggleton Date: Thu, 11 Feb 2016 01:13:35 +0000 (+1300) Subject: recipetool: create: set S when we set SRC_URI from local git repo X-Git-Tag: 2016-4~933 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=8bbbd2d63f1bc752f9a30054a089dc2caf5fd84c;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index daf13fb50e..3e4bab8afe 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: