]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
populate_sdk_ext.bbclass: remove the try...finally rbt/multilib_sdk
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 9 Nov 2017 07:17:22 +0000 (15:17 +0800)
committerRobert Yang <liezhi.yang@windriver.com>
Wed, 22 Nov 2017 03:03:32 +0000 (11:03 +0800)
commitbde87bcc5a24a3228df8ccf5fef6496991ea4ec2
tree4d69371f663bf53901c42b74cdf592f8385b084f
parent56f81087fbf4f98ae3a3bd314deab532e5809c8e
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