From: Christopher Larson Date: Wed, 26 Aug 2015 04:41:52 +0000 (-0700) Subject: sanity.bbclass: remove abspath warning for SSTATE_MIRRORS X-Git-Tag: 2015-10~489 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=6d20514b1289212991b4945ad267f85960dc945c;p=openembedded-core.git sanity.bbclass: remove abspath warning for SSTATE_MIRRORS The sstate URI is relative to begin with, so it's completely valid to want to alter it in a way that keeps it relative using a mirror, and I have real world cases where this is causing issues. Remove the warning. Signed-off-by: Christopher Larson Signed-off-by: Ross Burton --- diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 2864318632..2eb744fb7d 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -819,8 +819,6 @@ def check_sanity_everybuild(status, d): continue if mirror.startswith('file://'): - if not mirror.startswith('file:///'): - bb.warn('Invalid file url in %s: %s, must be absolute path (file:///)' % (mirror_var, mirror_entry)) import urlparse check_symlink(urlparse.urlparse(mirror).path, d) # SSTATE_MIRROR ends with a /PATH string