Skip to content

Add Raspberry Pi support (build targets, service files, docs, and CI)#117

Open
Haeliseu wants to merge 2 commits intologdyhq:mainfrom
Haeliseu:feat/rpi-support
Open

Add Raspberry Pi support (build targets, service files, docs, and CI)#117
Haeliseu wants to merge 2 commits intologdyhq:mainfrom
Haeliseu:feat/rpi-support

Conversation

@Haeliseu
Copy link
Copy Markdown

Why
This contribution makes Logdy easier to run on Raspberry Pi by adding explicit ARM targets, runnable service packaging, and CI validation for Pi architectures.

What changed
Added Raspberry Pi build support for:
linux/armv6 (Pi Zero / Pi 1)
linux/armv7 (Pi 2 / Pi 3 32-bit OS)
linux/arm64 (Pi 3/4/5 64-bit OS)
Reworked build_across to use native go build cross-compilation and include Pi targets.
Added dedicated script: scripts/build_rpi.sh.
Added systemd packaging and installer:
packaging/systemd/logdy.service
scripts/install_rpi_service.sh
Added CI workflow for Raspberry cross-build verification:
.github/workflows/cross-build-rpi.yml
Added Docker multi-arch publish workflow (GHCR):
.github/workflows/docker-publish.yml
PRs: build only
main/tags: build + push
Updated README.md with Raspberry Pi build/install usage and release instructions.
Compatibility / behavior
No runtime behavior change for existing platforms.
Changes are additive and focused on packaging, build tooling, and documentation.
Test plan

bash -n build_across scripts/build_rpi.sh scripts/install_rpi_service.sh

Run
./scripts/build_rpi.sh X.Y.Z
and verify binaries are generated.

CI
cross-build-rpi
passes for
armv6
,
armv7
,
arm64
.

(Optional) run on real Pi with:
sudo install ... /usr/local/bin/logdy
sudo ./scripts/install_rpi_service.sh /usr/local/bin/logdy
confirm UI on http://:8080

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant