Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 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)
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
#! /bin/sh
|
||||
# /etc/init.d/rasdaemon: start rasdaemon service
|
||||
|
||||
. /etc/init.d/functions
|
||||
|
||||
# Defaults
|
||||
PIDFILE=/var/run/rasdaemon.pid
|
||||
BINFILE=/usr/sbin/rasdaemon
|
||||
SCRIPTNAME=/etc/init.d/rasdaemon
|
||||
|
||||
[ -x $BINFILE ] || exit 0
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
echo -n "Starting RASdaemon services: "
|
||||
if [ ! -f "$PIDFILE" ]; then
|
||||
start-stop-daemon --start --quiet --exec $BINFILE -- --enable &> /dev/null
|
||||
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $BINFILE -- --record
|
||||
pidof $BINFILE > $PIDFILE
|
||||
fi
|
||||
[ -f $PIDFILE ] && echo "done." || echo "fail."
|
||||
;;
|
||||
stop)
|
||||
echo -n "Stopping RASdaemon services: "
|
||||
if [ -f "$PIDFILE" ] ; then
|
||||
start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $BINFILE -- --disable &> /dev/null
|
||||
killproc $BINFILE
|
||||
rm $PIDFILE
|
||||
fi
|
||||
[ ! -f $PIDFILE ] && echo "done." || echo "fail."
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
sleep 1
|
||||
$0 start
|
||||
;;
|
||||
status)
|
||||
status $BINFILE
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $SCRIPTNAME {start|stop|restart|status}"
|
||||
exit 1
|
||||
esac
|
||||
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=RAS daemon to log the RAS events
|
||||
After=syslog.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/rasdaemon -f -r
|
||||
ExecStartPost=/usr/sbin/rasdaemon --enable
|
||||
ExecStop=/usr/sbin/rasdaemon --disable
|
||||
Restart=on-abort
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1,51 @@
|
||||
DESCRIPTION = "Tools to provide a way to get Platform Reliability, Availability and Serviceability (RAS) reports made via the Kernel tracing events"
|
||||
HOMEPAGE = "http://git.infradead.org/users/mchehab/rasdaemon.git"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d3070efe0afa3dc41608bd82c00bb0dc"
|
||||
|
||||
SRC_URI = "git://github.com/mchehab/rasdaemon.git;branch=master;protocol=https \
|
||||
file://rasdaemon.service \
|
||||
file://init"
|
||||
|
||||
SRCREV = "4e83b848e7961af25028f3a2cecf37a63279a2bf"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
DEPENDS = "libtraceevent"
|
||||
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 ${WORKDIR}/init ${D}${sysconfdir}/init.d/rasdaemon
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/rasdaemon.service ${D}${systemd_unitdir}/system
|
||||
}
|
||||
|
||||
FILES:${PN} += "${sbindir}/rasdaemon \
|
||||
${sysconfdir}/init.d \
|
||||
${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"
|
||||
Reference in New Issue
Block a user