summaryrefslogtreecommitdiffstats
path: root/scripts/lib/recipetool/create.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-08-11 14:31:24 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-08-24 16:50:24 +0100
commit65318019cd8c6db19ae5d4526a0fa2d8c8ef25fa (patch)
tree7b97ae9eab7fecb7663c563327e608673d6d2a25 /scripts/lib/recipetool/create.py
parent62afa02d01794376efab75623f42e7e08af08526 (diff)
downloadpoky-65318019cd8c6db19ae5d4526a0fa2d8c8ef25fa.tar.gz
recipes/classes/scripts: Drop SRCPV usage in OE-Core
Now that SRCPV isn't needed we can simplify things in a few places... (From OE-Core rev: 843f82a246a535c353e08072f252d1dc78217872) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool/create.py')
-rw-r--r--scripts/lib/recipetool/create.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py
index e99e0714bf..f9dda3c2f9 100644
--- a/scripts/lib/recipetool/create.py
+++ b/scripts/lib/recipetool/create.py
@@ -690,7 +690,7 @@ def create_recipe(args):
690 srcpvprefix = 'svnr' 690 srcpvprefix = 'svnr'
691 else: 691 else:
692 srcpvprefix = scheme 692 srcpvprefix = scheme
693 lines_before.append('PV = "%s+%s${SRCPV}"' % (realpv or '1.0', srcpvprefix)) 693 lines_before.append('PV = "%s+%s"' % (realpv or '1.0', srcpvprefix))
694 pv_srcpv = True 694 pv_srcpv = True
695 if not args.autorev and srcrev == '${AUTOREV}': 695 if not args.autorev and srcrev == '${AUTOREV}':
696 if os.path.exists(os.path.join(srctree, '.git')): 696 if os.path.exists(os.path.join(srctree, '.git')):