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:
45
sources/poky/meta/recipes-core/seatd/seatd/init
Normal file
45
sources/poky/meta/recipes-core/seatd/seatd/init
Normal file
@@ -0,0 +1,45 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
### BEGIN INIT INFO
|
||||
# Provides: seatd
|
||||
# Required-Start: $local_fs $remote_fs
|
||||
# Required-Stop: $local_fs $remote_fs
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
### END INIT INFO
|
||||
|
||||
killproc() {
|
||||
pid=`/bin/pidof $1`
|
||||
[ "$pid" != "" ] && kill $pid
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
seatd -g video -n 1 > /tmp/seatd-start-notify &
|
||||
[ -s /tmp/seatd-start-notify ] && exit 0
|
||||
sleep 0.1
|
||||
[ -s /tmp/seatd-start-notify ] && exit 0
|
||||
sleep 0.5
|
||||
[ -s /tmp/seatd-start-notify ] && exit 0
|
||||
sleep 5
|
||||
[ -s /tmp/seatd-start-notify ] && exit 0
|
||||
exit 1
|
||||
;;
|
||||
|
||||
stop)
|
||||
echo "Stopping seatd"
|
||||
killproc seatd
|
||||
;;
|
||||
|
||||
restart)
|
||||
$0 stop
|
||||
sleep 1
|
||||
$0 start
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "usage: $0 { start | stop | restart }"
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
35
sources/poky/meta/recipes-core/seatd/seatd_0.8.0.bb
Normal file
35
sources/poky/meta/recipes-core/seatd/seatd_0.8.0.bb
Normal file
@@ -0,0 +1,35 @@
|
||||
SUMMARY = "A minimal seat management daemon, and a universal seat management library."
|
||||
DESCRIPTION = "Seat management takes care of mediating access to shared devices (graphics, input), without requiring the applications needing access to be root."
|
||||
HOMEPAGE = "https://git.sr.ht/~kennylevinsen/seatd"
|
||||
|
||||
LICENSE = "MIT"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=715a99d2dd552e6188e74d4ed2914d5a"
|
||||
|
||||
SRC_URI = "git://git.sr.ht/~kennylevinsen/seatd;protocol=https;branch=master \
|
||||
file://init"
|
||||
SRCREV = "3e9ef69f14f630a719dd464f3c90a7932f1c8296"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit meson pkgconfig update-rc.d
|
||||
|
||||
# https://www.openwall.com/lists/musl/2020/01/20/3
|
||||
CFLAGS:append:libc-musl:powerpc64le = " -Wno-error=overflow"
|
||||
|
||||
PACKAGECONFIG ?= " \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
|
||||
libseat-builtin \
|
||||
"
|
||||
|
||||
PACKAGECONFIG[libseat-builtin] = "-Dlibseat-builtin=enabled,-Dlibseat-builtin=disabled"
|
||||
PACKAGECONFIG[systemd] = ",,systemd"
|
||||
|
||||
do_install:append() {
|
||||
if [ "${VIRTUAL-RUNTIME_init_manager}" != "systemd" ]; then
|
||||
install -Dm755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/seatd
|
||||
fi
|
||||
}
|
||||
|
||||
INITSCRIPT_NAME = "seatd"
|
||||
INITSCRIPT_PARAMS = "start 9 5 2 . stop 20 0 1 6 ."
|
||||
INHIBIT_UPDATERCD_BBCLASS = "${@oe.utils.conditional('VIRTUAL-RUNTIME_init_manager', 'systemd', '1', '', d)}"
|
||||
Reference in New Issue
Block a user