mirror of
https://git.yoctoproject.org/poky
synced 2026-05-05 07:39:49 +02:00
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>
This commit is contained in:
@@ -690,7 +690,7 @@ def create_recipe(args):
|
||||
srcpvprefix = 'svnr'
|
||||
else:
|
||||
srcpvprefix = scheme
|
||||
lines_before.append('PV = "%s+%s${SRCPV}"' % (realpv or '1.0', srcpvprefix))
|
||||
lines_before.append('PV = "%s+%s"' % (realpv or '1.0', srcpvprefix))
|
||||
pv_srcpv = True
|
||||
if not args.autorev and srcrev == '${AUTOREV}':
|
||||
if os.path.exists(os.path.join(srctree, '.git')):
|
||||
|
||||
Reference in New Issue
Block a user