From: Christopher Larson <chris_lar...@mentor.com> 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 check which errors out on relative file:// paths.
Signed-off-by: Christopher Larson <chris_lar...@mentor.com> --- meta/classes/sanity.bbclass | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index ef90fc8..c142274 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -818,8 +818,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 -- 2.2.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core