summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRick Altherr <raltherr@google.com>2016-05-18 10:29:44 -0700
committerRick Altherr <raltherr@google.com>2016-05-25 18:55:28 -0700
commitfffa5376317e28d9a3a8ea84950cc0f41dbfbd14 (patch)
tree0b1402a58f0474f701de1c034f877903b88755a6
parent03f51f5489813391c066bb62a5aa1e9eb06e658d (diff)
downloadtalos-openbmc-fffa5376317e28d9a3a8ea84950cc0f41dbfbd14.tar.gz
talos-openbmc-fffa5376317e28d9a3a8ea84950cc0f41dbfbd14.zip
Fix i2c-tools SRCURI syntax
Override syntax (FOO_append, FOO_prepend) doesn't insert spaces to separate the append from the original value. This caused the two URIs to be incorrectly merged into one and caused a download failure. It happens that the fallback in that case is to use the Yocto mirror so it kept working other than emitting a warning. Using =+ prepend syntax correctly adds the separating space. Change-Id: I36f48cb53aa29ea9a4bde738c975784f6ce24250 Signed-off-by: Rick Altherr <raltherr@google.com>
-rw-r--r--meta-phosphor/common/recipes-devtools/i2c-tools/i2c-tools_%.bbappend3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-phosphor/common/recipes-devtools/i2c-tools/i2c-tools_%.bbappend b/meta-phosphor/common/recipes-devtools/i2c-tools/i2c-tools_%.bbappend
index bdbdc672f..599394dc7 100644
--- a/meta-phosphor/common/recipes-devtools/i2c-tools/i2c-tools_%.bbappend
+++ b/meta-phosphor/common/recipes-devtools/i2c-tools/i2c-tools_%.bbappend
@@ -1,4 +1,5 @@
+# Prefer the Yocto mirror over the direct lm-sensors download.
SRC_URI_remove = "http://dl.lm-sensors.org/i2c-tools/releases/${BP}.tar.bz2"
-SRC_URI_prepend = "http://downloads.yoctoproject.org/mirror/sources/${BP}.tar.bz2"
+SRC_URI =+ "http://downloads.yoctoproject.org/mirror/sources/${BP}.tar.bz2"
RDEPENDS_${PN}_remove = "${PN}-misc"
OpenPOWER on IntegriCloud