aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2020-06-07 21:21:56 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-06-08 21:42:24 +0100
commita55b2b29bb86d98700836de5b7d68965c7cd5ee5 (patch)
tree612d7e021d68a835f62eed7e95482c8960cdf4b3
parent18129cbaeddb3278efe9963718556e3765f06c1e (diff)
downloadopenembedded-core-contrib-a55b2b29bb86d98700836de5b7d68965c7cd5ee5.tar.gz
openembedded-core-contrib-a55b2b29bb86d98700836de5b7d68965c7cd5ee5.tar.bz2
openembedded-core-contrib-a55b2b29bb86d98700836de5b7d68965c7cd5ee5.zip
mdadm: remove service template from SYSTEMD_SERVICE
Remove service template mdmon@.service from SYSTEMD_SERVICE which should be not started by systemctl directly. It is hanlded by udev rules. Replace tab with spaces in SRC_URI as well. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/mdadm/mdadm_4.1.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-extended/mdadm/mdadm_4.1.bb b/meta/recipes-extended/mdadm/mdadm_4.1.bb
index 40c5273e005..001d3331a72 100644
--- a/meta/recipes-extended/mdadm/mdadm_4.1.bb
+++ b/meta/recipes-extended/mdadm/mdadm_4.1.bb
@@ -19,8 +19,8 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/raid/mdadm/${BPN}-${PV}.tar.xz \
file://0001-fix-gcc-8-format-truncation-warning.patch \
file://debian-no-Werror.patch \
file://0001-Revert-tests-wait-for-complete-rebuild-in-integrity-.patch \
- file://mdadm.init \
- file://0001-mdadm-add-option-y-for-use-syslog-to-recive-event-re.patch \
+ file://mdadm.init \
+ file://0001-mdadm-add-option-y-for-use-syslog-to-recive-event-re.patch \
file://include_sysmacros.patch \
file://0001-mdadm-skip-test-11spare-migration.patch \
"
@@ -30,7 +30,7 @@ SRC_URI[sha256sum] = "ab7688842908d3583a704d491956f31324c3a5fc9f6a04653cb75d19f1
inherit autotools-brokensep ptest systemd
-SYSTEMD_SERVICE_${PN} = "mdmonitor.service mdmon@.service"
+SYSTEMD_SERVICE_${PN} = "mdmonitor.service"
SYSTEMD_AUTO_ENABLE = "disable"
CFLAGS_append_toolchain-clang = " -Wno-error=address-of-packed-member"