Compare commits

...

1 Commits

Author SHA1 Message Date
Michel Roegl-Brunner fb610981eb fix(esphome): install libusb-1.0-0 for ESP-IDF native builds
ESPHome 2026.7.0 validates openocd-esp32 during native ESP-IDF setup, which requires libusb-1.0.so.0. Add the runtime package to install and update paths.

Fixes #15835
2026-07-17 08:55:45 +02:00
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -28,6 +28,7 @@ function update_script() {
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
ensure_dependencies libusb-1.0-0
msg_info "Stopping Service" msg_info "Stopping Service"
systemctl stop esphome-device-builder 2>/dev/null || true systemctl stop esphome-device-builder 2>/dev/null || true
+2 -1
View File
@@ -14,7 +14,8 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt install -y git $STD apt install -y git \
libusb-1.0-0
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
PYTHON_VERSION="3.12" setup_uv PYTHON_VERSION="3.12" setup_uv