mirror of
https://github.com/openglow-org/forgefirm.git
synced 2026-09-28 09:11:11 -07:00
rsyslog replaces busybox syslogd/klogd (VIRTUAL-RUNTIME_base-utils-syslog, trimmed PACKAGECONFIG) and becomes the only log writer: the appended /etc/rsyslog.conf sets the inputs and the ff_line format and includes the per-logger rules that `forgectrl --render-syslog` renders from the machine settings at boot. forgefirm-logrotate becomes forgefirm-logging: render before rsyslog starts (S19), sweep the pre-syslog log files into /data/forgefirm/legacy-logs once, and rotate the tree at boot and hourly by rename + HUP instead of copytruncate. Pins bumped to the pushed forgectrl (syslog emitter, Logs tab, export), grblHAL-glowforge (syslog emitter) and python3-gfhardware apps (syslog handlers, capture dir); the CI harnesses set FFLOG_STDERR=1 so failure diagnostics keep the controller's log lines. BRINGUP carries the bench validation checklist (Next work item 14); this is an image change and rides the next flash.
32 lines
1.0 KiB
BlitzBasic
32 lines
1.0 KiB
BlitzBasic
DESCRIPTION = "System Control Daemon for ForgeFIRM powered Glowforge"
|
|
HOMEPAGE = "https://github.com/ScottW514/forgectrl"
|
|
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=19ed4e3e8c28a4311c16b0b2b91357ec"
|
|
|
|
PE = "1"
|
|
PV = "0.1.0"
|
|
|
|
SRC_URI = "git://github.com/ScottW514/forgectrl.git;protocol=https;branch=main"
|
|
# Pinned; bump deliberately after pushing forgectrl changes.
|
|
SRCREV = "b4e01c5b24c75d09d6784c690d1c10654bc46da3"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit cmake update-rc.d
|
|
|
|
DEPENDS += "ulfius jpeg"
|
|
# media-ctl / v4l2-ctl configure the imx-media pipeline at runtime;
|
|
# the update manager drives ffboot + fwup and verifies against the
|
|
# shipped keyring; release checks and downloads use curl; the WiFi
|
|
# regulatory region (wifi_country) is applied with iw reg set.
|
|
RDEPENDS:${PN} = "v4l-utils ffboot fwup forgefirm-keys curl iw"
|
|
|
|
INITSCRIPT_NAME = "forgectrl"
|
|
INITSCRIPT_PARAMS = "defaults 90"
|
|
|
|
do_install:append() {
|
|
install -d ${D}${sysconfdir}/init.d
|
|
install -m 0755 ${S}/init/forgectrl.init ${D}${sysconfdir}/init.d/forgectrl
|
|
}
|