mirror of
https://github.com/openglow-org/forgefirm.git
synced 2026-09-28 01:01:12 -07:00
gfhome.py, ffmachine.py, and gfcloud.py (with the gfcloud init script and gfhome conf sample) live in the python3-gfhardware repository's forgefirm-app/ directory. The three recipes fetch that repo through a shared include (forgefirm-app.inc) carrying a single pinned SRCREV, replacing the local file:// copies. Package names, dependencies, and installed paths are unchanged.
19 lines
647 B
BlitzBasic
19 lines
647 B
BlitzBasic
DESCRIPTION = "Full Glowforge web-service controller daemon for ForgeFIRM (cloud mode)"
|
|
|
|
require forgefirm-app.inc
|
|
|
|
inherit update-rc.d
|
|
|
|
INITSCRIPT_NAME = "gfcloud"
|
|
INITSCRIPT_PARAMS = "defaults 92"
|
|
|
|
do_install() {
|
|
install -Dm 0755 ${S}/forgefirm-app/gfcloud.py ${D}${sbindir}/gfcloud.py
|
|
install -d ${D}${sysconfdir}/init.d
|
|
install -m 0755 ${S}/forgefirm-app/gfcloud.init ${D}${sysconfdir}/init.d/gfcloud
|
|
}
|
|
|
|
# Shares the Glowforge web-service config with gfhome (SERVICE section,
|
|
# camera captures via forgectrl); pulls the shared machine glue.
|
|
RDEPENDS:${PN} += "python3-core python3-ffmachine python3-gfhardware python3-gfutilities"
|