Last Ditch effort for PPA build

This commit is contained in:
Jonathan Bennett 2025-01-04 15:41:49 -06:00 committed by GitHub
parent eb72ee0fc1
commit 6aabbedc00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

10
debian/rules vendored
View File

@ -6,12 +6,12 @@
override_dh_auto_build:
# Terrible hack to use modern platformio to build the native version
python3 -m venv venv
. venv/bin/activate
pip install platformio
# python3 -m venv venv
# . venv/bin/activate
pip install platformio --break-system-packages
platformio run -e native
deactivate
rm -rf venv
# deactivate
# 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