From ebc3e16c7d698b16c2edfef64eef0c14a6a6a758 Mon Sep 17 00:00:00 2001 From: "Qi.Chen@windriver.com" Date: Fri, 4 Nov 2016 16:36:58 +0800 Subject: 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 Signed-off-by: Martin Jansa (cherry picked from commit caf48f2ea58f63b1a91a3d2aeafe98745efe0a50) Signed-off-by: Armin Kuster --- meta-oe/recipes-support/edac-utils/edac-utils_git.bb | 1 + meta-oe/recipes-support/edac-utils/files/edac.service | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-oe/recipes-support') 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 b3ff1cc2c9..2c0914d30a 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() { } SYSTEMD_SERVICE_${PN} = "edac.service" +SYSTEMD_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 9f687a8af2..f6b211e91b 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 [Service] Type=oneshot ExecStart=@SBINDIR@/edac-ctl --register-labels -ExecStop=@SBINDIR@/edac-ctl --unload RemainAfterExit=yes [Install] -- cgit 1.2.3-korg