From 8bbbd2d63f1bc752f9a30054a089dc2caf5fd84c Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Thu, 11 Feb 2016 14:13:35 +1300 Subject: 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 --- scripts/lib/recipetool/create.py | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/lib/recipetool/create.py') 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: -- cgit 1.2.3-korg