From 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf Mon Sep 17 00:00:00 2001 From: takeshi_hoshina Date: Mon, 2 Nov 2020 11:07:33 +0900 Subject: basesystem-jj recipes --- .../meta-oe/recipes-support/mcelog/mcelog_168.bb | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 external/meta-openembedded/meta-oe/recipes-support/mcelog/mcelog_168.bb (limited to 'external/meta-openembedded/meta-oe/recipes-support/mcelog/mcelog_168.bb') diff --git a/external/meta-openembedded/meta-oe/recipes-support/mcelog/mcelog_168.bb b/external/meta-openembedded/meta-oe/recipes-support/mcelog/mcelog_168.bb new file mode 100644 index 00000000..e2ef6ea5 --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-support/mcelog/mcelog_168.bb @@ -0,0 +1,35 @@ +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 = "http://mcelog.org/" +SECTION = "System Environment/Base" + +SRC_URI = "git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git;protocol=http; \ + file://run-ptest \ +" + +SRCREV = "078d593b8b0c7d44afdd439aacfad6682913038f" + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://README.md;md5=74bb47b9a68850cb398665cf78b31de6" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep ptest + +COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux' + +do_install_append() { + 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 1.2.3-korg edlefish meta-agl layer (core AGL)Grokmirror user
summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-raspberrypi/recipes-bsp/u-boot/u-boot-2020.10.inc
blob: 27f46096a675f3ba44a89686a0f7e5dfec573cfc (plain)
1
2
3