root d39954e4c2 feat(host): add self-contained amd64 release bundle 3 месяцев назад
..
config d39954e4c2 feat(host): add self-contained amd64 release bundle 3 месяцев назад
README.md d39954e4c2 feat(host): add self-contained amd64 release bundle 3 месяцев назад
install.sh d39954e4c2 feat(host): add self-contained amd64 release bundle 3 месяцев назад
selftest.sh d39954e4c2 feat(host): add self-contained amd64 release bundle 3 месяцев назад
uninstall.sh d39954e4c2 feat(host): add self-contained amd64 release bundle 3 месяцев назад

README.md

hth Linux amd64 release

This package targets Debian/Ubuntu-like x86_64 Linux hosts running systemd. It contains prebuilt static hthd, hthctl, and hth-capture binaries, the Prod2U profile, and service configuration. Go, Python, and protobuf tools are not required on the target host.

Install

tar -xzf hth-linux-amd64-vX.Y.Z.tar.gz
cd hth-linux-amd64-vX.Y.Z
./selftest.sh
sudo ./install.sh --backend mock

The default backend is mock. For a real controller, configure a stable udev symlink first and then install explicitly:

sudo ./install.sh --backend serial --serial-path /dev/hth/controller0

The installer refuses to overwrite an existing /etc/hth/hthd.yaml unless --force is supplied. Use --no-start to install without starting systemd. The serial backend requires the device path to exist and has explicit safety targets; it never silently falls back to mock.

Verify and operate

sudo hthd --check-config --config /etc/hth/hthd.yaml
hthctl devices
hthctl capabilities
hthctl snapshot
sudo systemctl status hthd

The service owns the only serial port. Clients use the Unix sockets under /run/hth; do not pass /dev/ttyUSB* into model containers.

Uninstall

sudo ./uninstall.sh
sudo ./uninstall.sh --purge   # also remove /etc/hth, /var/lib/hth, /run/hth

Normal uninstall preserves configuration and captured data. Only --purge removes them.

This package does not validate physical motors, limit switches, temperature mapping, or FPGA wiring. Hardware validation remains a separate authorized step and is not implied by the mock self-test.