mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 00:32:13 +02:00
devtool: do not write md5sums into upgraded recipes
This will drop them md5sums from recipes that still have them, and will not re-add them for recipes where they're already removed. [RP: Added fix for the test recipe] (From OE-Core rev: 1609e77a4db04a4c01cbbff17261cd57e8f816ee) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
db888b58be
commit
c4087787bc
@@ -391,12 +391,12 @@ def _create_new_recipe(newpv, md5, sha256, srcrev, srcbranch, srcsubdir_old, src
|
||||
newvalues['SRC_URI[%s.md5sum]' % name] = None
|
||||
newvalues['SRC_URI[%s.sha256sum]' % name] = None
|
||||
|
||||
if md5 and sha256:
|
||||
if sha256:
|
||||
if addnames:
|
||||
nameprefix = '%s.' % addnames[0]
|
||||
else:
|
||||
nameprefix = ''
|
||||
newvalues['SRC_URI[%smd5sum]' % nameprefix] = md5
|
||||
newvalues['SRC_URI[%smd5sum]' % nameprefix] = None
|
||||
newvalues['SRC_URI[%ssha256sum]' % nameprefix] = sha256
|
||||
|
||||
if srcsubdir_new != srcsubdir_old:
|
||||
|
||||
Reference in New Issue
Block a user