diff options
Diffstat (limited to 'scripts/lib/devtool/__init__.py')
| -rw-r--r-- | scripts/lib/devtool/__init__.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/scripts/lib/devtool/__init__.py b/scripts/lib/devtool/__init__.py index 97ac6aeb80..404d3e6645 100644 --- a/scripts/lib/devtool/__init__.py +++ b/scripts/lib/devtool/__init__.py | |||
| @@ -110,13 +110,6 @@ def setup_tinfoil(config_only=False): | |||
| 110 | tinfoil.logger.setLevel(logger.getEffectiveLevel()) | 110 | tinfoil.logger.setLevel(logger.getEffectiveLevel()) |
| 111 | return tinfoil | 111 | return tinfoil |
| 112 | 112 | ||
| 113 | def add_md5(config, recipename, filename): | ||
| 114 | """Record checksum of a recipe to the md5-file of the workspace""" | ||
| 115 | import bb.utils | ||
| 116 | md5 = bb.utils.md5_file(filename) | ||
| 117 | with open(os.path.join(config.workspace_path, '.devtool_md5'), 'a') as f: | ||
| 118 | f.write('%s|%s|%s\n' % (recipename, os.path.relpath(filename, config.workspace_path), md5)) | ||
| 119 | |||
| 120 | def get_recipe_file(cooker, pn): | 113 | def get_recipe_file(cooker, pn): |
| 121 | """Find recipe file corresponding a package name""" | 114 | """Find recipe file corresponding a package name""" |
| 122 | import oe.recipeutils | 115 | import oe.recipeutils |
