diff options
| author | Liu Yiding <liuyd.fnst@fujitsu.com> | 2025-11-26 15:09:59 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-11-26 15:28:07 -0800 |
| commit | b84c1993271bd36571b0d0e34526901ab51668a3 (patch) | |
| tree | eba25689449a6d50557db2661473f100c9520c3e /meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/rasdaemon_0.8.4.bb | |
| parent | 32cc671e03e5a400f4aef53a434b1b1c5d5e864e (diff) | |
| download | meta-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.bb | 50 |
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 @@ | |||
| 1 | DESCRIPTION = "Tools to provide a way to get Platform Reliability, Availability and Serviceability (RAS) reports made via the Kernel tracing events" | ||
| 2 | HOMEPAGE = "https://github.com/mchehab/rasdaemon" | ||
| 3 | LICENSE = "GPL-2.0-only" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d3070efe0afa3dc41608bd82c00bb0dc" | ||
| 5 | |||
| 6 | SRC_URI = "git://github.com/mchehab/rasdaemon.git;branch=master;protocol=https \ | ||
| 7 | file://rasdaemon.service \ | ||
| 8 | file://init" | ||
| 9 | |||
| 10 | SRCREV = "5a1efb8f324498df8cbaaa5adff0e9db96f648a9" | ||
| 11 | |||
| 12 | DEPENDS = "libtraceevent pciutils" | ||
| 13 | RDEPENDS:${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 | |||
| 16 | inherit autotools pkgconfig update-rc.d systemd | ||
| 17 | |||
| 18 | PACKAGECONFIG ??= "sqlite3 mce aer extlog devlink diskerror" | ||
| 19 | PACKAGECONFIG[sqlite3] = "--enable-sqlite3,--disable-sqlite3,sqlite3" | ||
| 20 | PACKAGECONFIG[mce] = "--enable-mce,--disable-mce" | ||
| 21 | PACKAGECONFIG[aer] = "--enable-aer,--disable-aer" | ||
| 22 | PACKAGECONFIG[extlog] = "--enable-extlog,--disable-extlog" | ||
| 23 | PACKAGECONFIG[devlink] = "--enable-devlink,--disable-devlink" | ||
| 24 | PACKAGECONFIG[diskerror] = "--enable-diskerror,--disable-diskerror" | ||
| 25 | PACKAGECONFIG[arm] = "--enable-arm,--disable-arm" | ||
| 26 | PACKAGECONFIG[hisi-ns-decode] = "--enable-hisi-ns-decode,--disable-hisi-ns-decode" | ||
| 27 | PACKAGECONFIG[non-standard] = "--enable-non-standard,--disable-non-standard" | ||
| 28 | PACKAGECONFIG[abrt-report] = "--enable-abrt-report,--disable-abrt-report" | ||
| 29 | |||
| 30 | DEPENDS:append:libc-musl = " argp-standalone" | ||
| 31 | LDFLAGS:append:libc-musl = " -largp" | ||
| 32 | |||
| 33 | do_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 | |||
| 40 | FILES:${PN} += "${sbindir}/rasdaemon \ | ||
| 41 | ${sysconfdir}/init.d \ | ||
| 42 | ${datadir} \ | ||
| 43 | ${systemd_unitdir}/system/rasdaemon.service" | ||
| 44 | |||
| 45 | SYSTEMD_SERVICE:${PN} = "rasdaemon.service" | ||
| 46 | SYSTEMD_AUTO_ENABLE = "enable" | ||
| 47 | |||
| 48 | INITSCRIPT_PACKAGES = "${PN}" | ||
| 49 | INITSCRIPT_NAME:${PN} = "rasdaemon" | ||
| 50 | INITSCRIPT_PARAMS:${PN} = "defaults 89" | ||
