[oe-commits] Christopher Larson : sanity.bbclass: remove abspath warning for SSTATE_MIRRORS

git at git.openembedded.org git at git.openembedded.org
Fri Sep 11 22:42:03 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 6d20514b1289212991b4945ad267f85960dc945c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6d20514b1289212991b4945ad267f85960dc945c

Author: Christopher Larson <chris_larson at mentor.com>
Date:   Tue Aug 25 21:41:52 2015 -0700

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 at mentor.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 meta/classes/sanity.bbclass | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 2864318..2eb744f 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



More information about the Openembedded-commits mailing list