summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorLiwei Song <liwei.song@windriver.com>2019-03-20 23:19:09 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-03-25 23:13:48 +0000
commit2f42b8c2ec3bcacc8862af5076136d0a5f5422ad (patch)
tree089d8c4b661e452fa84549a3b76e695bc130290f /meta
parentfa73dcd57f9891d1b4ad89dc2a38a73c3a55ea7b (diff)
downloadpoky-2f42b8c2ec3bcacc8862af5076136d0a5f5422ad.tar.gz
mdadm: add mdmon service to support Intel VROC
Install mdmon@.service to make Intel VROC work well. mdmon@.service called from udev is used to update Intel VROC metadata, with it the VROC raid is operational to read or write under user space. (From OE-Core rev: 5b2610ee3935d12ab73164aa8716c068dc8f7f56) Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/mdadm/mdadm_4.1.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-extended/mdadm/mdadm_4.1.bb b/meta/recipes-extended/mdadm/mdadm_4.1.bb
index d79c533f21..6b32f08abe 100644
--- a/meta/recipes-extended/mdadm/mdadm_4.1.bb
+++ b/meta/recipes-extended/mdadm/mdadm_4.1.bb
@@ -26,7 +26,7 @@ SRC_URI[sha256sum] = "ab7688842908d3583a704d491956f31324c3a5fc9f6a04653cb75d19f1
26 26
27inherit autotools-brokensep ptest systemd 27inherit autotools-brokensep ptest systemd
28 28
29SYSTEMD_SERVICE_${PN} = "mdmonitor.service" 29SYSTEMD_SERVICE_${PN} = "mdmonitor.service mdmon@.service"
30SYSTEMD_AUTO_ENABLE = "disable" 30SYSTEMD_AUTO_ENABLE = "disable"
31 31
32CFLAGS_append_toolchain-clang = " -Wno-error=address-of-packed-member" 32CFLAGS_append_toolchain-clang = " -Wno-error=address-of-packed-member"
@@ -57,6 +57,7 @@ do_install_append() {
57 install -m 644 ${S}/mdadm.conf-example ${D}${sysconfdir}/mdadm.conf 57 install -m 644 ${S}/mdadm.conf-example ${D}${sysconfdir}/mdadm.conf
58 install -d ${D}/${systemd_unitdir}/system 58 install -d ${D}/${systemd_unitdir}/system
59 install -m 644 ${WORKDIR}/mdmonitor.service ${D}/${systemd_unitdir}/system 59 install -m 644 ${WORKDIR}/mdmonitor.service ${D}/${systemd_unitdir}/system
60 install -m 644 ${S}/systemd/mdmon@.service ${D}/${systemd_unitdir}/system
60 install -d ${D}/${sysconfdir}/init.d 61 install -d ${D}/${sysconfdir}/init.d
61 install -m 755 ${WORKDIR}/mdadm.init ${D}${sysconfdir}/init.d/mdmonitor 62 install -m 755 ${WORKDIR}/mdadm.init ${D}${sysconfdir}/init.d/mdmonitor
62} 63}