When installing and meeting error, the script function check_result compares error code with "-1". Actually, the number is 255. So it fail to stop the wrong installation. Correct way is to check whether the result = 1 and then check the result -nq 0. Thanks& Regards, criping
this bug is fixed by cs: http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=7537f44a498860c08f613544e5f40fe2f24adaa8
verified against latest bernard branch