meshtasticd debian source package (#5741)

This commit is contained in:
Austin
2025-01-04 13:39:37 -06:00
committed by GitHub
co-authored by GitHub
parent 9afadde2f4
commit 2c654454cf
9 changed files with 67 additions and 0 deletions
Vendored Executable
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/make -f
# Use the "dh" sequencer
%:
dh $@
override_dh_auto_build:
# Terrible hack to use modern platformio to build the native version
python3 -m venv venv
venv/bin/pip install platformio
venv/bin/platformio run -e native
rm -rf venv
# Move the binary and default config to the correct name
mv .pio/build/native/program .pio/build/native/meshtasticd
cp bin/config-dist.yaml bin/config.yaml