[oe] [PATCH] [meta-oe][master, morty] sg3-utils upstream SRC_URI unavailable

2017-05-24 Thread dl9pf
From: Jan-Simon Möller 

This patch temporarily fixes the unavailable upstream URL for sg3-utils
with an bbappend that redirects the SRC_URI to a mirror.
Checksums match.

Signed-off-by: Jan-Simon Möller 
---
 meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bbappend | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bbappend

diff --git a/meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bbappend 
b/meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bbappend
new file mode 100644
index 0..aeef696cf
--- /dev/null
+++ b/meta-oe/recipes-support/sg3-utils/sg3-utils_1.42.bbappend
@@ -0,0 +1,2 @@
+# Upstream URL currently unavailable. Use mirror:
+SRC_URI = "https://fossies.org/linux/misc/sg3_utils-${PV}.tgz;
-- 
2.12.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH] Fix connectivity check for BB_FETCH_PREMIRRORONLY case

2015-12-17 Thread dl9pf
From: Jan-Simon Möller 

BB_FETCH_PREMIRRORONLY sets BB_NO_NETWORK (implicitly in the fetcher).
To avoid the sanity check to fail in an offline environment,
use the same override mechanism as in the fetcher.

Signed-off-by: Jan-Simon Möller 
---
 meta/classes/sanity.bbclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index ad9dda8..62dce92 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -271,6 +271,9 @@ def check_connectivity(d):
 test_uris = (d.getVar('CONNECTIVITY_CHECK_URIS', True) or "").split()
 retval = ""
 
+# Check for BB_FETCH_PREMIRRORONLY and adapt BB_NO_NETWORK
+if bb.data.getVar("BB_FETCH_PREMIRRORONLY", self.d, True) is not None:
+bb.data.setVar("BB_NO_NETWORK", "1", self.d)
 # Only check connectivity if network enabled and the
 # CONNECTIVITY_CHECK_URIS are set
 network_enabled = not d.getVar('BB_NO_NETWORK', True)
-- 
2.6.2

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel