mcelog: Upgrade to 194

Drop unneeded autotools-brokensep class inherit, this package has
traditional makefile build.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2023-05-20 00:43:58 -07:00
parent 9f1f22f95b
commit 29e6c4928c

View File

@@ -11,18 +11,25 @@ SRC_URI = "\
file://run-ptest \
"
SRCREV = "a3552acad43ac1f47d3acba1c79462bdece4ea17"
SRCREV = "8f33fdc47160edce09d75e1316b4d88129ca60a0"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
S = "${WORKDIR}/git"
inherit autotools-brokensep ptest
inherit ptest
COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux'
do_install:append() {
EXTRA_OEMAKE += "CFLAGS='${CFLAGS}'"
do_compile() {
oe_runmake
}
do_install() {
oe_runmake install DESTDIR=${D}
install -d ${D}${sysconfdir}/cron.hourly
install -m 0755 ${S}/mcelog.cron ${D}${sysconfdir}/cron.hourly/
sed -i 's/bash/sh/' ${D}${sysconfdir}/cron.hourly/mcelog.cron