瀏覽代碼

Fix libgpiod package name for Debian Trixie

libgpiod2 was renamed to libgpiod3 in Trixie (soname bump).
Use libgpiod-dev + gpiod instead, which pulls the correct shared
library as a dependency and works across Bookworm and Trixie.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
tuanchris 9 月之前
父節點
當前提交
2f4edf2635
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      setup-pi.sh

+ 1 - 1
setup-pi.sh

@@ -90,7 +90,7 @@ install_system_deps() {
         python3-venv python3-pip python3-dev \
         gcc g++ make \
         libjpeg-dev zlib1g-dev \
-        libgpiod2 libgpiod-dev \
+        libgpiod-dev gpiod \
         nginx git vim
     print_success "System dependencies installed"
 }