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>
This commit is contained in:
Christopher Larson 2015-08-25 21:41:52 -07:00 committed by Richard Purdie
parent 44ae903e30
commit 32633f0844
1 changed files with 0 additions and 2 deletions

View 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