diff options
| author | Kai Kang <kai.kang@windriver.com> | 2015-12-02 17:51:40 +0800 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-12-18 12:42:08 +0100 |
| commit | 49e6d6103e35e1646674c6fd7e70c387b1b127b4 (patch) | |
| tree | c263109e50beb42f4bf3bed9d66a892b57f5b71b /meta-oe/recipes-support/edac-utils/files/add-restart-to-initscript.patch | |
| parent | 30f03b584a0ef569c5a431e66a6d910246dd2d4f (diff) | |
| download | meta-openembedded-49e6d6103e35e1646674c6fd7e70c387b1b127b4.tar.gz | |
edac-utils: add patches for initscript
Update LIC_FILES_CHKSUM that the whole license file should be used
rather than the first 2 lines.
Remove COMPATIBLE_HOST that edac-utils could build for all architectures.
Update runtime dependencies:
* add perl modules that edac-ctl needs
* add dmidecode for the archs which are in COMPATIBLE_HOST of dmidecode
that dmidecode is required by command edac-ctl.
And add patches for initscripts to:
* add restart subcommand
* make init script be able to load EDAC module automatically
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/edac-utils/files/add-restart-to-initscript.patch')
| -rw-r--r-- | meta-oe/recipes-support/edac-utils/files/add-restart-to-initscript.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/edac-utils/files/add-restart-to-initscript.patch b/meta-oe/recipes-support/edac-utils/files/add-restart-to-initscript.patch new file mode 100644 index 0000000000..87051da906 --- /dev/null +++ b/meta-oe/recipes-support/edac-utils/files/add-restart-to-initscript.patch | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | From 3ade837f64de0cfe2aed5bc52f7919760f350531 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Wenzong Fan <wenzong.fan@windriver.com> | ||
| 3 | Date: Fri, 7 Mar 2014 00:57:12 -0500 | ||
| 4 | Subject: [PATCH] edac: add restart to initscript | ||
| 5 | |||
| 6 | Upstream-Status: Pending | ||
| 7 | |||
| 8 | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> | ||
| 9 | --- | ||
| 10 | src/etc/edac.init.in | 6 +++++- | ||
| 11 | 1 file changed, 5 insertions(+), 1 deletion(-) | ||
| 12 | |||
| 13 | diff --git a/src/etc/edac.init.in b/src/etc/edac.init.in | ||
| 14 | index adf76ee..007a519 100644 | ||
| 15 | --- a/src/etc/edac.init.in | ||
| 16 | +++ b/src/etc/edac.init.in | ||
| 17 | @@ -155,8 +155,12 @@ case "$1" in | ||
| 18 | status) | ||
| 19 | service_status | ||
| 20 | ;; | ||
| 21 | + restart) | ||
| 22 | + service_stop | ||
| 23 | + service_start | ||
| 24 | + ;; | ||
| 25 | *) | ||
| 26 | - COMMANDS="start|stop|status" | ||
| 27 | + COMMANDS="start|stop|status|restart" | ||
| 28 | echo "Usage: $0 {${COMMANDS}}" | ||
| 29 | exit 2 | ||
| 30 | ;; | ||
| 31 | -- | ||
| 32 | 1.7.9.5 | ||
| 33 | |||
