Skip to main content
Version: 1.5.1

How to build

For Payload in Space customers using Linux payloads, it is expected that the customers compile and install the Spire Linux Agent on their payload. Additionally, the Spire Linux Agent should be started automatically upon boot of the payload.

Retrieve the source code

git clone https://github.com/nsat/oort-agent
cd oort-agent

Native Build

The agent can be built for the current platform using make:

cd agent
make

The compiled binary can be found in agent/build/oort-server.

Cross-compiling

Building cross-compiler

The agent can be built for several different architectures. Building for architectures other than native require a cross-compiler. These cross-compilers are packaged in docker images, and can be built from the builder subdirectory.

cd builder
make armv7a arm8

Note that these cross-compilers take significant time (several hours) to build. Be careful cleaning up images unless you wish to repeat these lengthy builds!

Cross-compiling

Once the cross-compiler dockers are available, the agent itself can be built.

cd agent
make cross ARCH=armv7a

This will build the agent for the armv7a architecture, suitable for the OBC and most other satellite payloads. The compiled binary will be found in agent/build-cross-armv7a/oort-server.