[oe] [meta-oe][PATCH] multipath-tools: disable the systemd service start automatically
Yi Zhao
yi.zhao at windriver.com
Tue Aug 21 01:49:31 UTC 2018
We don't offer /etc/multpath.conf but an example configure file
/etc/multipath.conf.example. When the servcie start by default, it will
get the error: /etc/multipath.conf was not met
So disable the service by default.
Signed-off-by: Yi Zhao <yi.zhao at windriver.com>
---
meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.7.bb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.7.bb b/meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.7.bb
index 213ce15..5cc1546 100644
--- a/meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.7.bb
+++ b/meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.7.bb
@@ -63,7 +63,7 @@ SRC_URI = "git://git.opensvc.com/multipath-tools/.git;protocol=http \
file://0030-Always-use-devmapper.patch \
file://0031-Always-use-devmapper-for-kpartx.patch \
"
-
+
LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2"
SRCREV = "386d288b5595fc2c01dffe698b6eb306c6674908"
@@ -73,6 +73,7 @@ S = "${WORKDIR}/git"
inherit systemd pkgconfig
SYSTEMD_SERVICE_${PN} = "multipathd.service"
+SYSTEMD_AUTO_ENABLE = "disable"
TARGET_CC_ARCH += "${LDFLAGS}"
--
2.7.4
More information about the Openembedded-devel
mailing list