Commit f5e4434
committed
fix(lva-peripheral): pass GPIO/SPI GIDs to the peripheral container
docker compose's ``group_add`` resolves names against the container's
/etc/group, but the python:slim base used by the respeaker peripheral
doesn't define ``gpio`` or ``spi``. Container start failed with
``Unable to find group gpio: no matching entries in group file``,
which then cascaded into HA reporting ``Unable to connect to the
ESPHome device`` because LVA's ESPHome API never came up.
Pass numeric GIDs with sensible defaults for a stock Raspberry Pi OS
install (gpio=986, spi=989); users on other distros can override via
.env.
Caught during the first hardware smoke test on a Pi 3 + ReSpeaker
2-Mic HAT v2. Same fix has already landed upstream on the LVA branch
(genericJE/linux-voice-assistant feat/peripheral-led-light-entity)
in commit f200720, so this only patches PiCompose's own deployment
copy of docker-compose.yml.1 parent 3de4cb7 commit f5e4434
1 file changed
Lines changed: 6 additions & 2 deletions
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
92 | 96 | | |
93 | | - | |
94 | | - | |
| 97 | + | |
| 98 | + | |
95 | 99 | | |
96 | 100 | | |
97 | 101 | | |
| |||
0 commit comments