Files
forgefirm/meta-forgefirm/recipes-forgefirm/forgectrl/forgectrl.bb
T
ScottW514 d2131c161b forgectrl: wireless region support; add iw runtime dep
Bump to the forgectrl revision that adds the wifi_country setting
(System-tab region picker); the daemon applies it with iw reg set at
startup and on change, so iw joins RDEPENDS. regulatory.db itself
ships via the glowforge-image base (wireless-regdb-static).
2026-08-08 15:32:47 -04:00

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 = "5962e1c77a5d07d76be72c1f2472ba4b1abfd4a7"
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
}