diff options
Diffstat (limited to 'scripts/lib/devtool/upgrade.py')
| -rw-r--r-- | scripts/lib/devtool/upgrade.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/devtool/upgrade.py b/scripts/lib/devtool/upgrade.py index cb6dce378a..f962a71e41 100644 --- a/scripts/lib/devtool/upgrade.py +++ b/scripts/lib/devtool/upgrade.py | |||
| @@ -391,12 +391,12 @@ def _create_new_recipe(newpv, md5, sha256, srcrev, srcbranch, srcsubdir_old, src | |||
| 391 | newvalues['SRC_URI[%s.md5sum]' % name] = None | 391 | newvalues['SRC_URI[%s.md5sum]' % name] = None |
| 392 | newvalues['SRC_URI[%s.sha256sum]' % name] = None | 392 | newvalues['SRC_URI[%s.sha256sum]' % name] = None |
| 393 | 393 | ||
| 394 | if md5 and sha256: | 394 | if sha256: |
| 395 | if addnames: | 395 | if addnames: |
| 396 | nameprefix = '%s.' % addnames[0] | 396 | nameprefix = '%s.' % addnames[0] |
| 397 | else: | 397 | else: |
| 398 | nameprefix = '' | 398 | nameprefix = '' |
| 399 | newvalues['SRC_URI[%smd5sum]' % nameprefix] = md5 | 399 | newvalues['SRC_URI[%smd5sum]' % nameprefix] = None |
| 400 | newvalues['SRC_URI[%ssha256sum]' % nameprefix] = sha256 | 400 | newvalues['SRC_URI[%ssha256sum]' % nameprefix] = sha256 |
| 401 | 401 | ||
| 402 | if srcsubdir_new != srcsubdir_old: | 402 | if srcsubdir_new != srcsubdir_old: |
