Files
start-os/backend
Aiden McClelland c728f1a694 restructure initialization (#1816)
* reorder enabling of systemd-resolved

* set dns at end

* don't disable interfaces

* let networkmanager manage ifupdown

* restructure initialization

* use pigz when available

* cleanup

* fetch key before adding registry

* fix build

* update patch-db

* fix build

* fix build

* wait for network reinit

* add dynamic wait for up to 60s for network to reinit
2022-09-22 11:40:36 -06:00
..
2022-09-01 10:32:01 -06:00
2022-09-22 11:40:36 -06:00
2022-01-21 20:35:52 -07:00
2022-09-12 13:20:40 -06:00
2022-09-15 12:53:46 -06:00
2022-01-21 20:35:52 -07:00
2022-06-16 15:58:48 -06:00
2022-01-27 12:34:06 -07:00
2022-01-21 20:35:52 -07:00
2022-09-01 10:32:01 -06:00
2022-01-21 20:35:52 -07:00

EmbassyOS Backend

  • Requirements:
  • Scripts (run withing the ./backend directory)
    • build-prod.sh - compiles a release build of the artifacts for running on ARM64
    • build-dev.sh - compiles a development build of the artifacts for running on ARM64
  • A Linux computer or VM

Structure

The EmbassyOS backend is broken up into 4 different binaries:

  • embassyd: This is the main workhorse of EmbassyOS - any new functionality you want will likely go here
  • embassy-init: This is the component responsible for allowing you to set up your device, and handles system initialization on startup
  • embassy-cli: This is a CLI tool that will allow you to issue commands to embassyd and control it similarly to the UI
  • embassy-sdk: This is a CLI tool that aids in building and packaging services you wish to deploy to the Embassy

Finally there is a library embassy that supports all four of these tools.

See here for details.

Building

You can build the entire operating system image using make from the root of the EmbassyOS project. This will subsequently invoke the build scripts above to actually create the requisite binaries and put them onto the final operating system image.

Questions

If you have questions about how various pieces of the backend system work. Open an issue and tag the following people

  • dr-bonez
  • ProofOfKeags