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:
parent
44ae903e30
commit
32633f0844
|
@ -819,8 +819,6 @@ def check_sanity_everybuild(status, d):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if mirror.startswith('file://'):
|
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
|
import urlparse
|
||||||
check_symlink(urlparse.urlparse(mirror).path, d)
|
check_symlink(urlparse.urlparse(mirror).path, d)
|
||||||
# SSTATE_MIRROR ends with a /PATH string
|
# SSTATE_MIRROR ends with a /PATH string
|
||||||
|
|
Loading…
Reference in New Issue