Skip to content

Support prebuilt airplanes.live images in update and runtime scripts#13

Merged
d4rken merged 16 commits into
devfrom
image-install-support
Apr 30, 2026
Merged

Support prebuilt airplanes.live images in update and runtime scripts#13
d4rken merged 16 commits into
devfrom
image-install-support

Conversation

@d4rken

@d4rken d4rken commented Apr 29, 2026

Copy link
Copy Markdown
Member

Until now update.sh exited immediately on prebuilt airplanes.live images, leaving feeders shipping with prebuilt binaries unable to update through the same path as manual installs. This change adds a parallel image-install branch: when /boot/airplanes-config.txt is present and /usr/bin/airplanes-feeder is executable, update.sh sources config from /boot/, skips the readsb compile step, and orders its systemd units after airplanes-first-run.service. Manual installs follow the existing path unchanged. The runtime scripts (airplanes-feed.sh, airplanes-mlat.sh) and the apl-feed CLI gain matching multi-source config handling.

The dual gate (boot config plus feeder binary) is deliberate: /boot/airplanes-config.txt alone — for example a leftover image artefact on a manual install — falls back to the manual path rather than trying to use a binary that isn't there. A new image-rootfs-smoke CI job exercises the image path end-to-end against the airplanes-update skeleton. Both unit files now set RestartPreventExitStatus=64 so a config-fatal exit from the feeder binary no longer triggers a respawn loop.

Adds a parallel image-install branch to update.sh, gated on both the
boot config file and an executable airplanes-feeder. On image installs,
update.sh sources config from the boot partition, skips the readsb
compile, and orders its systemd units after airplanes-first-run.service;
manual installs follow the existing path unchanged. Runtime scripts and
the apl-feed CLI gain matching multi-source config handling, and both
unit files now set RestartPreventExitStatus=64 so a config-fatal exit no
longer respawns.
@d4rken d4rken force-pushed the image-install-support branch from 3aec45d to 888f445 Compare April 29, 2026 16:09
@d4rken d4rken added the enhancement New feature or request label Apr 29, 2026
@d4rken d4rken merged commit 1cb639e into dev Apr 30, 2026
8 checks passed
@d4rken d4rken deleted the image-install-support branch April 30, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant