Jump to content

王 維

Validating
  • Posts

    1
  • Joined

  • Last visited

  1. Upon meditating over broken builds for quite some time, here is how to build HA on an SBC with a very limited amount of RAM: Force Python build system to utilise unlimited user-supplied $TEMPDIR, rather than system-managed which is too small and zram-based It's unfair, but the builder is expected to RTFM installation notes for all the dependencies. That's right, OS-packaged rustc cannot be used, and it has to be a rustup I am stuck with `NumPy` installation. Whatever I do, the build OOMs by exhausting small swap file with 4x instances of cc1 compiler, running in parallel. My take is even if I manage to build HA, the deployment wouldn't be sustainable because of inability to upgrade it frequently TODO: explore containerised deployment EDIT: NumPy wanted a long list of dependencies. The install script has updated. Interestingly enough, with exception for `cryptography`, none of the failing dependencies are declared if I query `python -m pip show homeassistant`. Nested dependencies have to be learned the hard way. Opinionated Install
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines