diff options
Diffstat (limited to 'scripts/yocto-check-layer')
| -rwxr-xr-x | scripts/yocto-check-layer | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/yocto-check-layer b/scripts/yocto-check-layer index b7c83c8b54..deba3cb4f8 100755 --- a/scripts/yocto-check-layer +++ b/scripts/yocto-check-layer | |||
| @@ -138,6 +138,9 @@ def main(): | |||
| 138 | layer['type'] == LayerType.ERROR_BSP_DISTRO: | 138 | layer['type'] == LayerType.ERROR_BSP_DISTRO: |
| 139 | continue | 139 | continue |
| 140 | 140 | ||
| 141 | # Reset to a clean backup copy for each run | ||
| 142 | shutil.copyfile(bblayersconf + '.backup', bblayersconf) | ||
| 143 | |||
| 141 | if check_bblayers(bblayersconf, layer['path'], logger): | 144 | if check_bblayers(bblayersconf, layer['path'], logger): |
| 142 | logger.info("%s already in %s. To capture initial signatures, layer under test should not present " | 145 | logger.info("%s already in %s. To capture initial signatures, layer under test should not present " |
| 143 | "in BBLAYERS. Please remove %s from BBLAYERS." % (layer['name'], bblayersconf, layer['name'])) | 146 | "in BBLAYERS. Please remove %s from BBLAYERS." % (layer['name'], bblayersconf, layer['name'])) |
