mirror of
https://github.com/openglow-org/forgefirm.git
synced 2026-09-27 16:51:12 -07:00
Extract the shared-config identity overrides and the forgectrl-routed ForgectrlMachine from gfhome into an installed module (python3-ffmachine); gfhome imports it instead of carrying its own copy, so the coming gfcloud daemon builds the same machine the same way.
22 lines
587 B
BlitzBasic
22 lines
587 B
BlitzBasic
DESCRIPTION = "Shared ForgeFIRM web-service hardware-machine glue (gfhome + gfcloud)"
|
|
HOMEPAGE = "https://github.com/ScottW514/forgefirm"
|
|
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
|
|
|
PV = "0.1.0"
|
|
|
|
SRC_URI = "file://ffmachine.py"
|
|
|
|
S = "${WORKDIR}"
|
|
|
|
inherit python3-dir
|
|
|
|
do_install() {
|
|
install -Dm 0644 ${WORKDIR}/ffmachine.py ${D}${PYTHON_SITEPACKAGES_DIR}/ffmachine.py
|
|
}
|
|
|
|
FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}/ffmachine.py"
|
|
|
|
RDEPENDS:${PN} += "python3-core python3-gfhardware python3-gfutilities python3-requests"
|