mirror of
https://github.com/openglow-org/forgefirm.git
synced 2026-09-27 08:41:13 -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.
35 lines
1.2 KiB
BlitzBasic
35 lines
1.2 KiB
BlitzBasic
DESCRIPTION = "grblHAL motion controller for the Glowforge factory board"
|
|
HOMEPAGE = "https://github.com/ScottW514/grblHAL-glowforge"
|
|
|
|
LICENSE = "GPL-3.0-or-later"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=3237e48bcef3455c7bea5c0ce16206f6"
|
|
|
|
PV = "0.1.0"
|
|
|
|
# gitsm: the grblHAL core rides as a submodule (ScottW514/core, branch
|
|
# forgefirm = upstream master + the step_us_min buffer fix pending
|
|
# upstream).
|
|
SRC_URI = "gitsm://github.com/ScottW514/grblHAL-glowforge.git;protocol=https;branch=main"
|
|
# Pinned; bump deliberately after pushing grblHAL-glowforge changes.
|
|
SRCREV = "67d026d39ac03286937774f5e28946b88c44d490"
|
|
|
|
SRC_URI += "file://grblhal.init"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit cmake update-rc.d
|
|
|
|
INITSCRIPT_NAME = "grblhal"
|
|
# stop 80 < forgectrl's 90: at runlevel 0/6 the controller goes down
|
|
# BEFORE the daemon that carries the cooling engine, fire gates, and
|
|
# broker - never the other way around.
|
|
INITSCRIPT_PARAMS = "start 92 2 3 4 5 . stop 80 0 1 6 ."
|
|
|
|
do_install:append() {
|
|
install -d ${D}${sysconfdir}/init.d
|
|
install -m 0755 ${WORKDIR}/grblhal.init ${D}${sysconfdir}/init.d/grblhal
|
|
}
|
|
|
|
# The controller streams into /dev/glowforge (glowforge.ko) at runtime.
|
|
RRECOMMENDS:${PN} = "kernel-module-glowforge"
|