]> code.ossystems Code Review - openembedded-core.git/commitdiff
sanity.bbclass: remove abspath warning for SSTATE_MIRRORS
authorChristopher Larson <chris_larson@mentor.com>
Wed, 26 Aug 2015 04:41:52 +0000 (21:41 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 11 Sep 2015 22:38:03 +0000 (23:38 +0100)
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 <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/sanity.bbclass

index 2864318632404ef6faef83d8f66ffc99d2177b66..2eb744fb7d171be53cd095fd55bcc9da5e0c9fd0 100644 (file)
@@ -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