mirror of
https://github.com/openglow-org/forgefirm.git
synced 2026-09-27 16:51:12 -07:00
Before writing the target slot, the installer now shows what it holds (factory firmware v<ver>, ForgeFIRM, an unrecognized filesystem, or unknown/unreadable content). Factory images are archived as before; anything else requires the operator to type ERASE, since it is overwritten without a backup. The archive manifest now records the semantic FIRMWARE_VERSION (ver=), which the update manager displays in the restore list. Bump forgectrl to the matching GUI change.
31 lines
968 B
BlitzBasic
31 lines
968 B
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 = "4ae49a2bb969014e8369d8983ed37247d68e3daa"
|
|
|
|
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.
|
|
RDEPENDS:${PN} = "v4l-utils ffboot fwup forgefirm-keys curl"
|
|
|
|
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
|
|
}
|