summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2015-08-25 21:41:52 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-11 23:38:03 +0100
commit6d20514b1289212991b4945ad267f85960dc945c (patch)
tree829eb979d12eb1d267379bd4c0cd83287ed26043 /meta/classes
parent5334f1b1e9363fa9c128289b51ade55c7ae1a0a3 (diff)
downloadopenembedded-core-6d20514b1289212991b4945ad267f85960dc945c.tar.gz
openembedded-core-6d20514b1289212991b4945ad267f85960dc945c.tar.bz2
openembedded-core-6d20514b1289212991b4945ad267f85960dc945c.zip
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 <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/sanity.bbclass2
1 files changed, 0 insertions, 2 deletions
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