mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
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> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -2,7 +2,7 @@ SUMMARY = "Userspace helper for Linux kernel EDAC drivers"
|
||||
HOMEPAGE = "https://github.com/grondo/edac-utils"
|
||||
SECTION = "Applications/System"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;beginline=1;endline=2;md5=1fbd81241fe252ec0f5658a521ab7dd8"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
|
||||
|
||||
DEPENDS = " sysfsutils"
|
||||
|
||||
@@ -11,7 +11,10 @@ PV = "0.16+git${SRCPV}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
SRC_URI = "git://github.com/grondo/edac-utils;protocol=http"
|
||||
SRC_URI = "git://github.com/grondo/edac-utils \
|
||||
file://make-init-script-be-able-to-automatically-load-EDAC-.patch \
|
||||
file://add-restart-to-initscript.patch \
|
||||
"
|
||||
|
||||
inherit autotools-brokensep
|
||||
|
||||
@@ -20,6 +23,12 @@ do_configure_prepend () {
|
||||
${S}/bootstrap
|
||||
}
|
||||
|
||||
COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux'
|
||||
|
||||
RDEPENDS_${PN} = " perl"
|
||||
RDEPENDS_${PN}_x86 = "dmidecode"
|
||||
RDEPENDS_${PN}_x86-64 = "dmidecode"
|
||||
RDEPENDS_${PN}_arm = "dmidecode"
|
||||
RDEPENDS_${PN}_aarch64 = "dmidecode"
|
||||
RDEPENDS_${PN}_powerpc = "dmidecode"
|
||||
RDEPENDS_${PN}_powerpc64 = "dmidecode"
|
||||
RDEPENDS_${PN}_append = " \
|
||||
perl-module-file-basename perl-module-file-find perl-module-getopt-long perl-module-posix \
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user