mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
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. (From OE-Core rev: 8bbbd2d63f1bc752f9a30054a089dc2caf5fd84c) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
ca5a36cbd1
commit
a5095d146d
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user