mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-23 00:58:14 +00:00
Debian: use native-tft compile target (#6580)
This commit is contained in:
parent
e5cd0d613c
commit
5699d8632e
4
debian/ci_pack_sdeb.sh
vendored
4
debian/ci_pack_sdeb.sh
vendored
@ -5,8 +5,8 @@ export PLATFORMIO_PACKAGES_DIR=pio/packages
|
|||||||
export PLATFORMIO_CORE_DIR=pio/core
|
export PLATFORMIO_CORE_DIR=pio/core
|
||||||
|
|
||||||
# Download libraries to `pio`
|
# Download libraries to `pio`
|
||||||
platformio pkg install -e native
|
platformio pkg install -e native-tft
|
||||||
platformio pkg install -e native -t platformio/tool-scons@4.40502.0
|
platformio pkg install -e native-tft -t platformio/tool-scons@4.40502.0
|
||||||
# Compress `pio` directory to prevent dh_clean from sanitizing it
|
# Compress `pio` directory to prevent dh_clean from sanitizing it
|
||||||
tar -cf pio.tar pio/
|
tar -cf pio.tar pio/
|
||||||
rm -rf pio
|
rm -rf pio
|
||||||
|
5
debian/control
vendored
5
debian/control
vendored
@ -21,7 +21,10 @@ Build-Depends: debhelper-compat (= 13),
|
|||||||
openssl,
|
openssl,
|
||||||
libssl-dev,
|
libssl-dev,
|
||||||
libulfius-dev,
|
libulfius-dev,
|
||||||
liborcania-dev
|
liborcania-dev,
|
||||||
|
libx11-dev,
|
||||||
|
libinput-dev,
|
||||||
|
libxkbcommon-x11-dev
|
||||||
Standards-Version: 4.6.2
|
Standards-Version: 4.6.2
|
||||||
Homepage: https://github.com/meshtastic/firmware
|
Homepage: https://github.com/meshtastic/firmware
|
||||||
Rules-Requires-Root: no
|
Rules-Requires-Root: no
|
||||||
|
10
debian/meshtasticd.install
vendored
10
debian/meshtasticd.install
vendored
@ -1,8 +1,8 @@
|
|||||||
.pio/build/native/meshtasticd usr/sbin
|
.pio/build/native-tft/meshtasticd usr/sbin
|
||||||
|
|
||||||
bin/config.yaml etc/meshtasticd
|
bin/config.yaml etc/meshtasticd
|
||||||
bin/config.d/* etc/meshtasticd/available.d
|
bin/config.d/* etc/meshtasticd/available.d
|
||||||
|
|
||||||
bin/meshtasticd.service lib/systemd/system
|
bin/meshtasticd.service lib/systemd/system
|
||||||
|
|
||||||
web/* usr/share/meshtasticd/web
|
web/* usr/share/meshtasticd/web
|
4
debian/rules
vendored
4
debian/rules
vendored
@ -26,7 +26,7 @@ override_dh_auto_build:
|
|||||||
mkdir -p web && tar -xf web.tar -C web
|
mkdir -p web && tar -xf web.tar -C web
|
||||||
gunzip web/ -r
|
gunzip web/ -r
|
||||||
# Build with platformio
|
# Build with platformio
|
||||||
$(PIO_ENV) platformio run -e native
|
$(PIO_ENV) platformio run -e native-tft
|
||||||
# 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-tft/program .pio/build/native-tft/meshtasticd
|
||||||
cp bin/config-dist.yaml bin/config.yaml
|
cp bin/config-dist.yaml bin/config.yaml
|
||||||
|
Loading…
Reference in New Issue
Block a user