]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
populate_sdk_ext.bbclass: remove the try...finally rbt/mutilib
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 9 Nov 2017 07:17:22 +0000 (15:17 +0800)
committerRobert Yang <liezhi.yang@windriver.com>
Mon, 8 Jan 2018 10:08:33 +0000 (18:08 +0800)
commit959517311c67ccc2931f55cb7d8384f57e15b636
treef426d30527e2bd9e1f217585523393c3e37df8d3
parent75e0af04a45e2bb2ab5a728c85a7c91b5907faf3
populate_sdk_ext.bbclass: remove the try...finally

The "sdkbasepath + '/conf/local.conf.bak" doesn't exist when
"oe.copy_buildsystem.check_sstate_task_list()" fails, then os.replace() would
raise FileNotFoundError, which overcomes the real error. Keep the error status
makes debug easier, so remove the try..finally.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/classes/populate_sdk_ext.bbclass