diff options
Diffstat (limited to 'scripts/lib/devtool/upgrade.py')
| -rw-r--r-- | scripts/lib/devtool/upgrade.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/lib/devtool/upgrade.py b/scripts/lib/devtool/upgrade.py index 1f11d47e5a..24937dcd20 100644 --- a/scripts/lib/devtool/upgrade.py +++ b/scripts/lib/devtool/upgrade.py | |||
| @@ -301,6 +301,9 @@ def _create_new_recipe(newpv, md5, sha256, srcrev, srcbranch, workspace, tinfoil | |||
| 301 | path = os.path.join(workspace, 'recipes', bpn) | 301 | path = os.path.join(workspace, 'recipes', bpn) |
| 302 | bb.utils.mkdirhier(path) | 302 | bb.utils.mkdirhier(path) |
| 303 | copied, _ = oe.recipeutils.copy_recipe_files(rd, path) | 303 | copied, _ = oe.recipeutils.copy_recipe_files(rd, path) |
| 304 | if not copied: | ||
| 305 | raise DevtoolError('Internal error - no files were copied for recipe %s' % bpn) | ||
| 306 | logger.debug('Copied %s to %s' % (copied, path)) | ||
| 304 | 307 | ||
| 305 | oldpv = rd.getVar('PV') | 308 | oldpv = rd.getVar('PV') |
| 306 | if not newpv: | 309 | if not newpv: |
