sdr-enthusiasts / docker-adsb-ultrafeeder

ADSB-Ultrafeeder is an all-in-one ADSB container with readsb, tar1090, graphs1090, autogain, multi-feeder, and mlat-hub built in
GNU General Public License v3.0
191 stars 33 forks source link

fixup adsbx stats UUID #137

Closed wiedehopf closed 2 months ago

wiedehopf commented 2 months ago
 fixup adsbx stats UUID

in cases where UUID and adsbx specific uuids differ, there was a bug of
UUID_FILE being set to /run/uuid by adsbx-stats script in
/etc/default/adsbexchange-stats
the json-status script should read from
UUID_FILE=/usr/local/share/adsbexchange/adsbx-uuid

just export ADSBX_UUID in adsbx-stats which then invokes
adsbexchange-json-status.
in there use ADSBX_UUID instead of doing the redirect via the UUID file

cleanup the whole configuration file stuff for adsbx-stats, just
customize json-status a bit

also speed up build as build-essential doesn't need to be installed on
the mlat-client baseimage, it already has it