From 996bb4371c3f71ef4ad45b4f3a07c270b75ef52c Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 24 Sep 2025 17:00:12 +0800 Subject: mcelog: upgrade 204 -> 206 Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-support/mcelog/mcelog_204.bb | 42 ---------------------------- meta-oe/recipes-support/mcelog/mcelog_206.bb | 42 ++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 42 deletions(-) delete mode 100644 meta-oe/recipes-support/mcelog/mcelog_204.bb create mode 100644 meta-oe/recipes-support/mcelog/mcelog_206.bb (limited to 'meta-oe') diff --git a/meta-oe/recipes-support/mcelog/mcelog_204.bb b/meta-oe/recipes-support/mcelog/mcelog_204.bb deleted file mode 100644 index c3d082aa67..0000000000 --- a/meta-oe/recipes-support/mcelog/mcelog_204.bb +++ /dev/null @@ -1,42 +0,0 @@ -SUMMARY = "mcelog daemon accounts memory and some other errors in various ways." -DESCRIPTION = "mcelog is required by both 32bit x86 Linux kernels (since 2.6.30) \ -and 64bit Linux kernels (since early 2.6 kernel releases) to log machine checks \ -and should run on all Linux systems that need error handling." -HOMEPAGE = "https://mcelog.org/" -SECTION = "System Environment/Base" - -SRC_URI = "git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git;protocol=http;;branch=master \ - file://0001-client-Include-string.h-form-mem-function-prototypes.patch \ - file://run-ptest \ - " - -SRCREV = "ad244c6b60fcbd08a5d73497bfb3487983801598" - -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" - - -inherit ptest - -COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux' - -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 -} - -do_install_ptest() { - install -d ${D}${PTEST_PATH} - cp -r ${S}/tests ${S}/input ${D}${PTEST_PATH} - sed -i 's#../../mcelog#mcelog#' ${D}${PTEST_PATH}/tests/test -} - -RDEPENDS:${PN}-ptest += "make bash mce-inject" diff --git a/meta-oe/recipes-support/mcelog/mcelog_206.bb b/meta-oe/recipes-support/mcelog/mcelog_206.bb new file mode 100644 index 0000000000..7685de722e --- /dev/null +++ b/meta-oe/recipes-support/mcelog/mcelog_206.bb @@ -0,0 +1,42 @@ +SUMMARY = "mcelog daemon accounts memory and some other errors in various ways." +DESCRIPTION = "mcelog is required by both 32bit x86 Linux kernels (since 2.6.30) \ +and 64bit Linux kernels (since early 2.6 kernel releases) to log machine checks \ +and should run on all Linux systems that need error handling." +HOMEPAGE = "https://mcelog.org/" +SECTION = "System Environment/Base" + +SRC_URI = "git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git;protocol=http;;branch=master \ + file://0001-client-Include-string.h-form-mem-function-prototypes.patch \ + file://run-ptest \ + " + +SRCREV = "7aa81797e3a42973c6aca0468ca35638bbbb06dc" + +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" + + +inherit ptest + +COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux' + +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 +} + +do_install_ptest() { + install -d ${D}${PTEST_PATH} + cp -r ${S}/tests ${S}/input ${D}${PTEST_PATH} + sed -i 's#../../mcelog#mcelog#' ${D}${PTEST_PATH}/tests/test +} + +RDEPENDS:${PN}-ptest += "make bash mce-inject" -- cgit v1.2.3-54-g00ecf