mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-08 05:31:25 +00:00
Update debian build rules
This commit is contained in:
parent
7c21d7761c
commit
7480378aed
6
debian/rules
vendored
6
debian/rules
vendored
@ -7,8 +7,10 @@
|
|||||||
override_dh_auto_build:
|
override_dh_auto_build:
|
||||||
# Terrible hack to use modern platformio to build the native version
|
# Terrible hack to use modern platformio to build the native version
|
||||||
python3 -m venv venv
|
python3 -m venv venv
|
||||||
venv/bin/pip install platformio
|
source venv/bin/activate
|
||||||
venv/bin/platformio run -e native
|
pip install platformio
|
||||||
|
platformio run -e native
|
||||||
|
deactivate
|
||||||
rm -rf venv
|
rm -rf venv
|
||||||
# Move the binary and default config to the correct name
|
# Move the binary and default config to the correct name
|
||||||
mv .pio/build/native/program .pio/build/native/meshtasticd
|
mv .pio/build/native/program .pio/build/native/meshtasticd
|
||||||
|
Loading…
Reference in New Issue
Block a user