mirror of
https://github.com/CyberMind-FR/secubox-deb.git
synced 2026-07-29 18:36:55 +00:00
fix: Use python3-netifaces from Debian instead of pip
netifaces requires compilation which fails without build-essential. Use the Debian packaged version instead. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
6a0b9f45a1
commit
b047b1e24c
|
|
@ -568,10 +568,10 @@ chroot "${ROOTFS}" apt-get update -q
|
|||
|
||||
# Install Python dependencies FIRST (required by SecuBox packages)
|
||||
log "Installing Python dependencies..."
|
||||
chroot "${ROOTFS}" apt-get install -y -q python3-pip python3-venv 2>/dev/null || true
|
||||
chroot "${ROOTFS}" apt-get install -y -q python3-pip python3-venv python3-netifaces 2>/dev/null || true
|
||||
chroot "${ROOTFS}" pip3 install --break-system-packages -q \
|
||||
fastapi uvicorn[standard] python-jose[cryptography] httpx \
|
||||
jinja2 tomli pyroute2 psutil pydantic toml netifaces \
|
||||
jinja2 tomli pyroute2 psutil pydantic toml \
|
||||
aiofiles aiosqlite authlib 2>&1 | tail -5 || true
|
||||
ok "Python dependencies installed"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user