Quellcode durchsuchen

Remove apt full-upgrade from setup script to fix swig missing on Pi Zero 2W

full-upgrade could remove swig after installation, causing lgpio wheel
build to fail. The setup script only needs apt update + install for its
dependencies, not a full system upgrade.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
tuanchris vor 4 Monaten
Ursprung
Commit
cb958f6063
1 geänderte Dateien mit 0 neuen und 9 gelöschten Zeilen
  1. 0 9
      setup-pi.sh

+ 0 - 9
setup-pi.sh

@@ -209,14 +209,6 @@ apply_wifi_fix() {
     NEEDS_REBOOT=true
 }
 
-# Update system packages
-update_system() {
-    print_step "Updating system packages..."
-    sudo apt update
-    sudo DEBIAN_FRONTEND=noninteractive apt full-upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold"
-    print_success "System updated"
-}
-
 # Verify we're in the dune-weaver directory
 ensure_repo() {
     print_step "Setting up dune-weaver repository..."
@@ -514,7 +506,6 @@ main() {
     check_raspberry_pi
     install_system_deps
     ensure_repo
-    update_system
     disable_wlan_powersave
 
     if [[ "$FIX_WIFI" == "true" ]]; then