summaryrefslogtreecommitdiffstats
path: root/meta/classes/sanity.bbclass
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-12 22:48:25 +0100
commit32633f084494dd6d4ad68db463eda0d8154d9e36 (patch)
tree370d124daf1295925240b2865e7e8514f1651d04 /meta/classes/sanity.bbclass
parent44ae903e30245e4e8825e1805b5ab6c3fb19ff33 (diff)
downloadpoky-32633f084494dd6d4ad68db463eda0d8154d9e36.tar.gz
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. (From OE-Core rev: 6d20514b1289212991b4945ad267f85960dc945c) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sanity.bbclass')
-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):
819 continue 819 continue
820 820
821 if mirror.startswith('file://'): 821 if mirror.startswith('file://'):
822 if not mirror.startswith('file:///'):
823 bb.warn('Invalid file url in %s: %s, must be absolute path (file:///)' % (mirror_var, mirror_entry))
824 import urlparse 822 import urlparse
825 check_symlink(urlparse.urlparse(mirror).path, d) 823 check_symlink(urlparse.urlparse(mirror).path, d)
826 # SSTATE_MIRROR ends with a /PATH string 824 # SSTATE_MIRROR ends with a /PATH string