aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2018-08-21 09:49:31 +0800
committerKhem Raj <raj.khem@gmail.com>2018-08-21 00:21:45 -0700
commit7c819ae30dd228df2901ab3b95e2124f22204f9e (patch)
treee45fa8313b3ceb4b5b8f35d3ba49bb63ad27d73f
parentac91e6b759f1eeeca559005e1c933b46d6a0272f (diff)
downloadmeta-openembedded-contrib-7c819ae30dd228df2901ab3b95e2124f22204f9e.tar.gz
multipath-tools: disable the systemd service start automatically
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@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.7.bb3
1 files changed, 2 insertions, 1 deletions
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 213ce1542e..5cc1546045 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}"