From 32633f084494dd6d4ad68db463eda0d8154d9e36 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Tue, 25 Aug 2015 21:41:52 -0700 Subject: 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 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/classes/sanity.bbclass | 2 -- 1 file changed, 2 deletions(-) (limited to 'meta/classes/sanity.bbclass') 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 -- cgit v1.2.3-54-g00ecf