Add Debian packaging and arm64 cross build
cargo-deb metadata produces a .deb with the binary, the packaged user unit variant, man page and example config; arm64 cross-builds as a static musl binary via an isolated rustup and rust-lld (recipe in README). Add MIT LICENSE for the package copyright.
This commit is contained in:
1 parent
b4e51a58f6
commit
b93c0134dd
9 files changed
+189
-1
No files matched your search
@@ -42,6 +42,17 @@ rearms monitoring. See README.md for the full design.
|
||||
- `android/` — companion beacon app (Kotlin/Compose, separate Gradle
|
||||
build; see `android/README.md`). Counter-rotating ServiceData payload
|
||||
defeats the BlueZ RSSI dedupe from the phone side.
|
||||
- `packaging/` — Debian packaging: user unit variant for the packaged
|
||||
binary and the man page; consumed by `cargo deb` (see
|
||||
`[package.metadata.deb]` in Cargo.toml).
|
||||
- MSRV gotcha: `cargo-deb` 3.x does not build on rustc 1.85 (let-chains);
|
||||
pin `cargo install cargo-deb --version 2.12.1`.
|
||||
- arm64 cross-build recipe (isolated rustup + static musl + rust-lld as
|
||||
linker, `cargo-deb --no-strip`) lives in README under "arm64"; the
|
||||
rustup env is ephemeral — re-run the recipe to rebuild.
|
||||
- Android release signing: `android/keystore.properties` (gitignored)
|
||||
points at the keystore in `~/.config/btle-proximity/`; without it
|
||||
`assembleRelease` produces an unsigned APK.
|
||||
|
||||
## Domain gotchas (learned the hard way — see docs/HANDOFF.md)
|
||||
|
||||
|
||||
Reference in new issue
Block a user