build(node): package NetBird and JK BMS with pinned shared UI sources

This commit is contained in:
DCCONSTRUCTIONS
2026-11-04 00:43:00 +03:00
parent f3d0c25ccd
commit df743a9f6c
15 changed files with 378 additions and 20 deletions
@@ -219,6 +219,10 @@ def tailscale_install():
return "Tailscale установлен; системная служба запущена. Вход проверяется отдельно."
def netbird_install():
return command(["/usr/bin/python3", "-I", "-B", "/usr/lib/mission-core-node/netbird_install.py"], timeout=660).strip()
def desktop_autostart():
owned_config(Path('/usr/share/mission-core-node/mission-core-node-autostart.desktop'),
Path('/etc/xdg/autostart/org.nodedc.MissionCoreNode.desktop'))
@@ -245,7 +249,7 @@ def usb_startup():
OPERATIONS = {"platform": platform, "packages": packages, "node-service": node_service,
"desktop-autostart": desktop_autostart, "usb-startup": usb_startup,
"network-inventory": network_inventory, "usb-inventory": usb_inventory,
"ssh-service": ssh_service, "tailscale-install": tailscale_install}
"ssh-service": ssh_service, "tailscale-install": tailscale_install, "netbird-install": netbird_install}
def run_steps(profile, operations, save):