summaryrefslogtreecommitdiff
path: root/meta-phosphor
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2018-03-23 22:28:16 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-04-18 18:01:40 +0300
commit0bbfb3e65fa60c03054259b1470350bba666ffce (patch)
treec17fea0dc35046840a80a95652d6f395091e8024 /meta-phosphor
parent18a0f79d20668e3fd9227fe2f429bc9dac8dced0 (diff)
downloadopenbmc-0bbfb3e65fa60c03054259b1470350bba666ffce.tar.xz
aspeed: move MTD partition rules
Move the MTD partition rules to their own recipe under udev rather than appending u-boot-fw-utils. Additionally the rules are an artifact of the aspeed u-boot-fw-utils configuration, so place the new recipe in the aspeed layer. Tested: Built a witherspoon image Change-Id: I1fec995dd75543b2630db29d78bfb29a1a5949d5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor')
-rw-r--r--meta-phosphor/common/recipes-bsp/u-boot/files/76-mtd-partitions.rules1
-rw-r--r--meta-phosphor/common/recipes-bsp/u-boot/u-boot-fw-utils_%.bbappend7
2 files changed, 0 insertions, 8 deletions
diff --git a/meta-phosphor/common/recipes-bsp/u-boot/files/76-mtd-partitions.rules b/meta-phosphor/common/recipes-bsp/u-boot/files/76-mtd-partitions.rules
deleted file mode 100644
index 28e458645..000000000
--- a/meta-phosphor/common/recipes-bsp/u-boot/files/76-mtd-partitions.rules
+++ /dev/null
@@ -1 +0,0 @@
-ENV{DEVTYPE}=="mtd", SYMLINK+="mtd/%s{name}"
diff --git a/meta-phosphor/common/recipes-bsp/u-boot/u-boot-fw-utils_%.bbappend b/meta-phosphor/common/recipes-bsp/u-boot/u-boot-fw-utils_%.bbappend
deleted file mode 100644
index 03b1a76d8..000000000
--- a/meta-phosphor/common/recipes-bsp/u-boot/u-boot-fw-utils_%.bbappend
+++ /dev/null
@@ -1,7 +0,0 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
-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/
-}