]> code.ossystems Code Review - openembedded-core.git/commit
toolchain-scripts.bbclass: unset command_not_found_handle
authorFang Jia <fang.jia@windriver.com>
Mon, 30 Nov 2015 08:50:34 +0000 (16:50 +0800)
committerRobert Yang <liezhi.yang@windriver.com>
Mon, 28 Dec 2015 07:03:15 +0000 (23:03 -0800)
commitfe622c4508d2c87f7bd7c15c6391c8e1319fd3b6
treed414a1b7d203417fe75dd8add534f213175b813c
parent2c8afd6aae775ab10dd30eb890fc410739048d79
toolchain-scripts.bbclass: unset command_not_found_handle

On Ubuntu-system, When sourcing the env.sh from an exported sdk, and
running a bogus linux command (for example "asd"), a core dump of
python is usually generated.

Unset the command_not_found_handle to fix it.

(From OE-Core master rev: 473ccbebb426df757adb8955eaa5e191d88180d1)

Signed-off-by: Fang Jia <fang.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/toolchain-scripts.bbclass