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
This commit is contained in:
Michel Roegl-Brunner
2026-07-17 08:55:24 +02:00
parent a51e1f37f5
commit fb610981eb
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -14,7 +14,8 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt install -y git
$STD apt install -y git \
libusb-1.0-0
msg_ok "Installed Dependencies"
PYTHON_VERSION="3.12" setup_uv