diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2016-11-14 06:34:06 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-23 11:10:13 +0000 |
commit | 67e8ffcfa698c2f244a787024682707198717334 (patch) | |
tree | 4d598f58184d307b7b728acd11dbf22686a75756 /scripts/lib/recipetool/create.py | |
parent | d755f0721a17313e27653a6406e6f874180355d6 (diff) | |
download | poky-67e8ffcfa698c2f244a787024682707198717334.tar.gz |
sanity.bbclass: fix check_connectivity() for BB_NO_NETWORK = "0"
The old code:
network_enabled = not d.getVar('BB_NO_NETWORK', True)
It is True only when BB_NO_NETWORK is not set (None),
but BB_NO_NETWORK = "0" should also be True while "1" means no network,
"0" means need network in a normal case.
(From OE-Core rev: 3d8db6cb992f96023a0486f64fe6b0f1ead04184)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool/create.py')
0 files changed, 0 insertions, 0 deletions