mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-23 09:06:02 +00:00
meshtasticd-debian: Include web components (#5778)
This commit is contained in:
parent
57766d47a8
commit
86170171a7
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,6 +1,8 @@
|
|||||||
.pio
|
.pio
|
||||||
.pio_core
|
|
||||||
pio
|
pio
|
||||||
|
pio.tar
|
||||||
|
web
|
||||||
|
web.tar
|
||||||
|
|
||||||
# ignore vscode IDE settings files
|
# ignore vscode IDE settings files
|
||||||
.vscode/*
|
.vscode/*
|
||||||
|
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -1,4 +1,4 @@
|
|||||||
meshtasticd (2.5.19) unstable; urgency=medium
|
meshtasticd (2.5.19) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
* Initial packaging
|
* Initial packaging
|
||||||
|
|
||||||
|
5
debian/ci_changelog.sh
vendored
5
debian/ci_changelog.sh
vendored
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
export DEBEMAIL="github-actions[bot]@users.noreply.github.com"
|
export DEBEMAIL="github-actions[bot]@users.noreply.github.com"
|
||||||
|
PKG_VERSION=$(python3 bin/buildinfo.py short)
|
||||||
|
|
||||||
dch --newversion "$(python3 bin/buildinfo.py short)-1" \
|
dch --newversion "$PKG_VERSION-1" \
|
||||||
--distribution unstable \
|
--distribution UNRELEASED \
|
||||||
"GitHub Actions Automatic version bump"
|
"GitHub Actions Automatic version bump"
|
||||||
|
7
debian/ci_pack_sdeb.sh
vendored
7
debian/ci_pack_sdeb.sh
vendored
@ -4,11 +4,14 @@ export PLATFORMIO_LIBDEPS_DIR=pio/libdeps
|
|||||||
export PLATFORMIO_PACKAGES_DIR=pio/packages
|
export PLATFORMIO_PACKAGES_DIR=pio/packages
|
||||||
export PLATFORMIO_CORE_DIR=pio/core
|
export PLATFORMIO_CORE_DIR=pio/core
|
||||||
|
|
||||||
# Download libraries to `libdeps`
|
# Download libraries to `pio`
|
||||||
platformio pkg install -e native
|
platformio pkg install -e native
|
||||||
platformio pkg install -t platformio/tool-scons@4.40502.0
|
platformio pkg install -e native -t platformio/tool-scons@4.40502.0
|
||||||
|
# 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
|
||||||
|
# Download the latest meshtastic/web release build.tar to `web.tar`
|
||||||
|
curl https://github.com/meshtastic/web/releases/download/latest/build.tar -o web.tar
|
||||||
|
|
||||||
package=$(dpkg-parsechangelog --show-field Source)
|
package=$(dpkg-parsechangelog --show-field Source)
|
||||||
|
|
||||||
|
6
debian/control
vendored
6
debian/control
vendored
@ -13,7 +13,11 @@ Build-Depends: debhelper-compat (= 13),
|
|||||||
libgpiod-dev,
|
libgpiod-dev,
|
||||||
libbluetooth-dev,
|
libbluetooth-dev,
|
||||||
libusb-1.0-0-dev,
|
libusb-1.0-0-dev,
|
||||||
libi2c-dev
|
libi2c-dev,
|
||||||
|
openssl,
|
||||||
|
libssl-dev,
|
||||||
|
libulfius-dev,
|
||||||
|
liborcania-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
|
||||||
|
1
debian/meshtasticd.dirs
vendored
1
debian/meshtasticd.dirs
vendored
@ -1,3 +1,4 @@
|
|||||||
etc/meshtasticd
|
etc/meshtasticd
|
||||||
etc/meshtasticd/config.d
|
etc/meshtasticd/config.d
|
||||||
etc/meshtasticd/available.d
|
etc/meshtasticd/available.d
|
||||||
|
usr/share/meshtasticd/web
|
2
debian/meshtasticd.install
vendored
2
debian/meshtasticd.install
vendored
@ -4,3 +4,5 @@ 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
|
5
debian/rules
vendored
5
debian/rules
vendored
@ -12,8 +12,11 @@ PIO_ENV:=\
|
|||||||
PLATFORMIO_PACKAGES_DIR=pio/packages
|
PLATFORMIO_PACKAGES_DIR=pio/packages
|
||||||
|
|
||||||
override_dh_auto_build:
|
override_dh_auto_build:
|
||||||
# Build with platformio
|
# Extract tarballs within source deb
|
||||||
tar -xf pio.tar
|
tar -xf pio.tar
|
||||||
|
tar -xf web.tar web
|
||||||
|
gunzip web/ -r
|
||||||
|
# Build with platformio
|
||||||
$(PIO_ENV) platformio run -e native
|
$(PIO_ENV) platformio run -e native
|
||||||
# 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
|
||||||
|
5
debian/source/include-binaries
vendored
5
debian/source/include-binaries
vendored
@ -1,3 +1,2 @@
|
|||||||
pio/libdeps
|
pio.tar
|
||||||
pio/packages
|
web.tar
|
||||||
pio/core
|
|
3
debian/source/options
vendored
3
debian/source/options
vendored
@ -1,2 +1 @@
|
|||||||
extend-diff-ignore = "\.pio\w*?$"
|
extend-diff-ignore = "\.pio"
|
||||||
tar-ignore = ""
|
|
Loading…
Reference in New Issue
Block a user