summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/copy_buildsystem.py
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-10-16 03:30:43 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-06 22:32:22 +0000
commiteaad759ac8a432ac41f72ff3bef8d31abfa18dfa (patch)
treef02920f02baa6f4a7e7d72d3372ee0b385015517 /meta/lib/oe/copy_buildsystem.py
parentb27342d23325796fdc69488cd7517fd51195cac2 (diff)
downloadpoky-eaad759ac8a432ac41f72ff3bef8d31abfa18dfa.tar.gz
populate_sdk_ext.bbclass: don't rename layers when failed
The previous code: os.rename(sdkbasepath, temp_sdkbasepath) try: foo finally: os.rename(temp_sdkbasepath, sdkbasepath) always renamed the path, it made the debug harder when error happened. drop the "try: finally" makes the debug easier. (From OE-Core rev: 32126512349d65f0dbc31196c4ec6e1a1147cf5e) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/copy_buildsystem.py')
0 files changed, 0 insertions, 0 deletions