- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
45 lines
1.3 KiB
BlitzBasic
45 lines
1.3 KiB
BlitzBasic
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 = "ab58f07b9b1a4456fca0f5f41639d5cbecc80e36"
|
|
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
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"
|