Comments
Patch
@@ -96,10 +96,16 @@ def check_connectivity(d):
data = bb.data.createCopy(d)
bookmark = os.getcwd()
dldir = bb.data.expand('${TMPDIR}/sanity', data)
+ bb.utils.mkdirhier(dldir)
bb.data.setVar('DL_DIR', dldir, data)
try:
fetcher = bb.fetch2.Fetch(test_uris, data)
+ # Touch .done files for the CONNECTIVITY_CHECK_URIS so that the user
+ # doesn't see checksum warnings
+ for uri in fetcher.urls:
+ ud = fetcher.ud[uri]
+ open(ud.donestamp, 'w').close()
fetcher.download()
fetcher.clean(test_uris)
except Exception:
This patch creates the .done files for the CONNECTIVITY_CHECK_URIS in the sanity DL_DIR so that the user isn't warned about there not being checksums set for the URI's when sanity checking the network. Signed-off-by: Joshua Lock <josh@linux.intel.com> --- meta/classes/sanity.bbclass | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)