diff options
author | Qi.Chen@windriver.com <Qi.Chen@windriver.com> | 2016-11-04 16:36:58 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-11-23 15:24:41 +0100 |
commit | caf48f2ea58f63b1a91a3d2aeafe98745efe0a50 (patch) | |
tree | 0b304b1d53ffbb1b18d9dfe08f675489388841b4 /meta-oe | |
parent | 2f652ec3dc99e930e73443789b7168d2629d980e (diff) | |
download | meta-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.bb | 1 | ||||
-rw-r--r-- | meta-oe/recipes-support/edac-utils/files/edac.service | 1 |
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 | ||
46 | SYSTEMD_SERVICE_${PN} = "edac.service" | 46 | SYSTEMD_SERVICE_${PN} = "edac.service" |
47 | 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 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] |
5 | Type=oneshot | 5 | Type=oneshot |
6 | ExecStart=@SBINDIR@/edac-ctl --register-labels | 6 | ExecStart=@SBINDIR@/edac-ctl --register-labels |
7 | ExecStop=@SBINDIR@/edac-ctl --unload | ||
8 | RemainAfterExit=yes | 7 | RemainAfterExit=yes |
9 | 8 | ||
10 | [Install] | 9 | [Install] |