u-boot-fw-utils: Fix mtd-paritions failure
u-boot-fw-utils_%.bbappend was not working with all BSPs. In some cases
it was unable to find 76-mtd-partitions.rules. This change uses a
relative path that can always be found.
Change-Id: Id5f88c3985d4feba5ac733e649107f1fa1498eb7
Tested: Built and verified mtd-paritions rule
Signed-off-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/common/recipes-bsp/u-boot/u-boot-fw-utils_%.bbappend b/common/recipes-bsp/u-boot/u-boot-fw-utils_%.bbappend
index 6f9c5e6..03b1a76 100644
--- a/common/recipes-bsp/u-boot/u-boot-fw-utils_%.bbappend
+++ b/common/recipes-bsp/u-boot/u-boot-fw-utils_%.bbappend
@@ -1,7 +1,7 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
-SRC_URI += "file://76-mtd-partitions.rules"
+SRC_URI_append = " file://76-mtd-partitions.rules"
do_install_append() {
install -d ${D}/${base_libdir}/udev/rules.d/
- install ${WORKDIR}/76-mtd-partitions.rules ${D}/${base_libdir}/udev/rules.d/
+ install ${WORKDIR}/76-mtd-partitions.rules ${D}/${base_libdir}/udev/rules.d/
}