From: Christopher Larson <kergoth@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Christopher Larson <chris_larson@mentor.com>
Subject: [PATCHv3] sanity.bbclass: remove abspath warning for SSTATE_MIRRORS
Date: Tue, 25 Aug 2015 21:41:52 -0700 [thread overview]
Message-ID: <1440564112-28879-1-git-send-email-kergoth@gmail.com> (raw)
In-Reply-To: <1440563739-28496-1-git-send-email-kergoth@gmail.com>
From: Christopher Larson <chris_larson@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 warning.
Signed-off-by: Christopher Larson <chris_larson@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
prev parent reply other threads:[~2015-08-26 4:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-26 4:32 [PATCH] sanity.bbclass: remove forced abspath for SSTATE_MIRRORS Christopher Larson
2015-08-26 4:35 ` [PATCHv2] " Christopher Larson
2015-08-26 4:41 ` Christopher Larson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1440564112-28879-1-git-send-email-kergoth@gmail.com \
--to=kergoth@gmail.com \
--cc=chris_larson@mentor.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox