Skip to content

tRackIT-Systems/tsOS-Base

Repository files navigation

tsOS-Base

Build tsOS-Base Images

tsOS-Base is the basis for tRackIT Systems operating system distributions for sensor stations in stand-alone operation in the field. It is based on a Raspberry Pi OS and installs some software that is required for the various purposes.

Download

The image of tsOS-Base can be downloaded in the GitHub Releases section of this repository.

Build tsOS Base

tsOS-Base is available in two versions for a) arm64 (Raspberry Pi 3+ and newer) and b) armhf (< Raspberry Pi 3) devices. The images can be built using pimod.

$ docker-compose run --rm pimod pimod.sh tsOS-Base.Pifile
### FROM https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2023-10-10/2023-10-10-raspios-bookworm-arm64-lite.img.xz
Using cache: .cache/downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2023-10-10/2023-10-10-raspios-bookworm-arm64-lite.img.xz
### TO tsOS-Base-arm64.img
Moving temporary /tmp/tmp.PoPljJLbOK to tsOS-Base-arm64.img
...

Configuration

The system can be configured through different files in the /boot partition.

cmdline.txt holds the kernel boot commandline, which allows to configure the hostname in newer systemd versions. This behavioud is emulated and a hostname can be configured by setting systemd.hostname=workshop-test-00001

Mqttutil reports system statistics via MQTT, see example config.

/boot/firmware/wireguard.conf

A wireguard configuration can be set using this configuration file.

Files in this directory are loaded by mosquitto. E.g. mqtt brokers for reporting can be set using files in this folder.