summaryrefslogtreecommitdiffstats
path: root/meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/rasdaemon_0.8.4.bb
diff options
context:
space:
mode:
authorLiu Yiding <liuyd.fnst@fujitsu.com>2025-11-26 15:09:59 +0800
committerKhem Raj <raj.khem@gmail.com>2025-11-26 15:28:07 -0800
commitb84c1993271bd36571b0d0e34526901ab51668a3 (patch)
treeeba25689449a6d50557db2661473f100c9520c3e /meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/rasdaemon_0.8.4.bb
parent32cc671e03e5a400f4aef53a434b1b1c5d5e864e (diff)
downloadmeta-openembedded-b84c1993271bd36571b0d0e34526901ab51668a3.tar.gz
rasdaemon: upgrade 0.8.3 -> 0.8.4
1.Changelog: https://github.com/mchehab/rasdaemon/commit/5a1efb8f324498df8cbaaa5adff0e9db96f648a9 2.Remove 0001-rasdaemon-fix-post-processing-options.patch as it was merged upstream. Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/rasdaemon_0.8.4.bb')
-rw-r--r--meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/rasdaemon_0.8.4.bb50
1 files changed, 50 insertions, 0 deletions
diff --git a/meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/rasdaemon_0.8.4.bb b/meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/rasdaemon_0.8.4.bb
new file mode 100644
index 0000000000..0024729a91
--- /dev/null
+++ b/meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/rasdaemon_0.8.4.bb
@@ -0,0 +1,50 @@
1DESCRIPTION = "Tools to provide a way to get Platform Reliability, Availability and Serviceability (RAS) reports made via the Kernel tracing events"
2HOMEPAGE = "https://github.com/mchehab/rasdaemon"
3LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=d3070efe0afa3dc41608bd82c00bb0dc"
5
6SRC_URI = "git://github.com/mchehab/rasdaemon.git;branch=master;protocol=https \
7 file://rasdaemon.service \
8 file://init"
9
10SRCREV = "5a1efb8f324498df8cbaaa5adff0e9db96f648a9"
11
12DEPENDS = "libtraceevent pciutils"
13RDEPENDS:${BPN} = "perl perl-module-file-basename perl-module-file-find perl-module-file-spec perl-module-getopt-long \
14 perl-module-posix perl-module-file-glob libdbi-perl libdbd-sqlite-perl"
15
16inherit autotools pkgconfig update-rc.d systemd
17
18PACKAGECONFIG ??= "sqlite3 mce aer extlog devlink diskerror"
19PACKAGECONFIG[sqlite3] = "--enable-sqlite3,--disable-sqlite3,sqlite3"
20PACKAGECONFIG[mce] = "--enable-mce,--disable-mce"
21PACKAGECONFIG[aer] = "--enable-aer,--disable-aer"
22PACKAGECONFIG[extlog] = "--enable-extlog,--disable-extlog"
23PACKAGECONFIG[devlink] = "--enable-devlink,--disable-devlink"
24PACKAGECONFIG[diskerror] = "--enable-diskerror,--disable-diskerror"
25PACKAGECONFIG[arm] = "--enable-arm,--disable-arm"
26PACKAGECONFIG[hisi-ns-decode] = "--enable-hisi-ns-decode,--disable-hisi-ns-decode"
27PACKAGECONFIG[non-standard] = "--enable-non-standard,--disable-non-standard"
28PACKAGECONFIG[abrt-report] = "--enable-abrt-report,--disable-abrt-report"
29
30DEPENDS:append:libc-musl = " argp-standalone"
31LDFLAGS:append:libc-musl = " -largp"
32
33do_install:append() {
34 install -d ${D}${sysconfdir}/init.d
35 install -m 755 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/rasdaemon
36 install -d ${D}${systemd_unitdir}/system
37 install -m 0644 ${UNPACKDIR}/rasdaemon.service ${D}${systemd_unitdir}/system
38}
39
40FILES:${PN} += "${sbindir}/rasdaemon \
41 ${sysconfdir}/init.d \
42 ${datadir} \
43 ${systemd_unitdir}/system/rasdaemon.service"
44
45SYSTEMD_SERVICE:${PN} = "rasdaemon.service"
46SYSTEMD_AUTO_ENABLE = "enable"
47
48INITSCRIPT_PACKAGES = "${PN}"
49INITSCRIPT_NAME:${PN} = "rasdaemon"
50INITSCRIPT_PARAMS:${PN} = "defaults 89"