mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 20:07:25 +00:00
69779c01a9
Changelog: =========== * rasdaemon: Add NVIDIA non-standard CPER decoder (Vera and Grace) * rasdaemon: Add Intel Diamond Rapids, Granite Rapids, Sierra Forest, and Clearwater Forest support * rasdaemon: Add Zhaoxin CPUs support for MCE record events * rasdaemon: Fix uuid_le() buffer size calculation and SQLite API return code checks * rasdaemon: Allow built-in or modules EDAC in status checks * rasdaemon: Add RERI handler implementation * ras-mc-ctl: Consolidate error counts by DIMM label * ras-mc-ctl: Fix signal events query column * ras-mc-ctl: Fix mc_event_trigger.local reference * ras-mc-ctl: Correct --error-count alignment output * ras-events: Fix event file endianness handling * ras-aer-handler: Add support for AER triggers * tracing: Address deprecated /sys/kernel/debug/tracing path * ras-page-isolation.c: Clean up compiler warning * types.c: Add missing newline at end of file * Documentation: Update README.md and SECURITY.md Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
51 lines
2.1 KiB
BlitzBasic
51 lines
2.1 KiB
BlitzBasic
DESCRIPTION = "Tools to provide a way to get Platform Reliability, Availability and Serviceability (RAS) reports made via the Kernel tracing events"
|
|
HOMEPAGE = "https://github.com/mchehab/rasdaemon"
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d3070efe0afa3dc41608bd82c00bb0dc"
|
|
|
|
SRC_URI = "git://github.com/mchehab/rasdaemon.git;branch=master;protocol=https;tag=v${PV} \
|
|
file://rasdaemon.service \
|
|
file://init"
|
|
|
|
SRCREV = "769593be915b4f00a9a7d56569df99bc0cff249a"
|
|
|
|
DEPENDS = "libtraceevent pciutils"
|
|
RDEPENDS:${BPN} = "perl perl-module-file-basename perl-module-file-find perl-module-file-spec perl-module-getopt-long \
|
|
perl-module-posix perl-module-file-glob libdbi-perl libdbd-sqlite-perl"
|
|
|
|
inherit autotools pkgconfig update-rc.d systemd
|
|
|
|
PACKAGECONFIG ??= "sqlite3 mce aer extlog devlink diskerror"
|
|
PACKAGECONFIG[sqlite3] = "--enable-sqlite3,--disable-sqlite3,sqlite3"
|
|
PACKAGECONFIG[mce] = "--enable-mce,--disable-mce"
|
|
PACKAGECONFIG[aer] = "--enable-aer,--disable-aer"
|
|
PACKAGECONFIG[extlog] = "--enable-extlog,--disable-extlog"
|
|
PACKAGECONFIG[devlink] = "--enable-devlink,--disable-devlink"
|
|
PACKAGECONFIG[diskerror] = "--enable-diskerror,--disable-diskerror"
|
|
PACKAGECONFIG[arm] = "--enable-arm,--disable-arm"
|
|
PACKAGECONFIG[hisi-ns-decode] = "--enable-hisi-ns-decode,--disable-hisi-ns-decode"
|
|
PACKAGECONFIG[non-standard] = "--enable-non-standard,--disable-non-standard"
|
|
PACKAGECONFIG[abrt-report] = "--enable-abrt-report,--disable-abrt-report"
|
|
|
|
DEPENDS:append:libc-musl = " argp-standalone"
|
|
LDFLAGS:append:libc-musl = " -largp"
|
|
|
|
do_install:append() {
|
|
install -d ${D}${sysconfdir}/init.d
|
|
install -m 755 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/rasdaemon
|
|
install -d ${D}${systemd_unitdir}/system
|
|
install -m 0644 ${UNPACKDIR}/rasdaemon.service ${D}${systemd_unitdir}/system
|
|
}
|
|
|
|
FILES:${PN} += "${sbindir}/rasdaemon \
|
|
${sysconfdir}/init.d \
|
|
${datadir} \
|
|
${systemd_unitdir}/system/rasdaemon.service"
|
|
|
|
SYSTEMD_SERVICE:${PN} = "rasdaemon.service"
|
|
SYSTEMD_AUTO_ENABLE = "enable"
|
|
|
|
INITSCRIPT_PACKAGES = "${PN}"
|
|
INITSCRIPT_NAME:${PN} = "rasdaemon"
|
|
INITSCRIPT_PARAMS:${PN} = "defaults 89"
|