From: Richard Purdie <richard.pur...@linuxfoundation.org> Nicolas Dechesne spotted there was duplicate code I had introduced with a previous fix. Remove the second statement since the earlier one is correct all that is needed.
Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.bell...@bootlin.com> Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org> (cherry picked from commit f3e8d9f0e53e73de5498fccce81d049a88f6473b) Signed-off-by: Steve Sakoman <st...@sakoman.com> --- scripts/yocto-check-layer | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/yocto-check-layer b/scripts/yocto-check-layer index deba3cb4f8..84fb0011e9 100755 --- a/scripts/yocto-check-layer +++ b/scripts/yocto-check-layer @@ -152,8 +152,6 @@ def main(): logger.info("Setting up for %s(%s), %s" % (layer['name'], layer['type'], layer['path'])) - shutil.copyfile(bblayersconf + '.backup', bblayersconf) - missing_dependencies = not add_layer_dependencies(bblayersconf, layer, dep_layers, logger) if not missing_dependencies: for additional_layer in additional_layers: -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#154496): https://lists.openembedded.org/g/openembedded-core/message/154496 Mute This Topic: https://lists.openembedded.org/mt/84687255/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-