summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorQi.Chen@windriver.com <Qi.Chen@windriver.com>2016-11-04 16:36:58 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2016-11-23 15:24:41 +0100
commitcaf48f2ea58f63b1a91a3d2aeafe98745efe0a50 (patch)
tree0b304b1d53ffbb1b18d9dfe08f675489388841b4 /meta-oe
parent2f652ec3dc99e930e73443789b7168d2629d980e (diff)
downloadmeta-openembedded-caf48f2ea58f63b1a91a3d2aeafe98745efe0a50.tar.gz
edac-utils: fix systemd service
Fix edac-utils systemd service file so that `systemctl stop edac' doesn't fail. Remove the ExecStop line as there's no '--unload' option for edac-ctl. Also, disable edac service by default. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-support/edac-utils/edac-utils_git.bb1
-rw-r--r--meta-oe/recipes-support/edac-utils/files/edac.service1
2 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/edac-utils/edac-utils_git.bb b/meta-oe/recipes-support/edac-utils/edac-utils_git.bb
index b3ff1cc2c..2c0914d30 100644
--- a/meta-oe/recipes-support/edac-utils/edac-utils_git.bb
+++ b/meta-oe/recipes-support/edac-utils/edac-utils_git.bb
@@ -44,3 +44,4 @@ do_install_append() {
44} 44}
45 45
46SYSTEMD_SERVICE_${PN} = "edac.service" 46SYSTEMD_SERVICE_${PN} = "edac.service"
47SYSTEMD_AUTO_ENABLE_${PN} = "disable"
diff --git a/meta-oe/recipes-support/edac-utils/files/edac.service b/meta-oe/recipes-support/edac-utils/files/edac.service
index 9f687a8af..f6b211e91 100644
--- a/meta-oe/recipes-support/edac-utils/files/edac.service
+++ b/meta-oe/recipes-support/edac-utils/files/edac.service
@@ -4,7 +4,6 @@ Description=Initialize EDAC Drivers For Machine Hardware
4[Service] 4[Service]
5Type=oneshot 5Type=oneshot
6ExecStart=@SBINDIR@/edac-ctl --register-labels 6ExecStart=@SBINDIR@/edac-ctl --register-labels
7ExecStop=@SBINDIR@/edac-ctl --unload
8RemainAfterExit=yes 7RemainAfterExit=yes
9 8
10[Install] 9[Install]