Skip to content

Commit 54a82b6

Browse files
Update 9001-firmware.binary
1 parent 5490aca commit 54a82b6

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed
Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
#!/bin/bash
2-
# Set the sources (kinda a bodge)
2+
set -e
33

4-
echo ">>> Setting up /etc/apt/sources.list..."
4+
echo "Installing firmware and microcode packages..."
55

6-
cat > /etc/apt/sources.list <<'EOF'
7-
deb http://cdn.debian.net/debian/ trixie main contrib non-free non-free-firmware
8-
deb-src http://cdn.debian.net/debian/ trixie main contrib non-free non-free-firmware
6+
# Update package lists
7+
apt-get update
98

10-
deb http://security.debian.org/ trixie-security main contrib non-free non-free-firmware
11-
deb-src http://security.debian.org/ trixie-security main contrib non-free non-free-firmware
9+
# Install firmware and CPU microcode packages
10+
apt-get install -y --no-install-recommends \
11+
firmware-linux \
12+
firmware-linux-nonfree \
13+
firmware-misc-nonfree \
14+
firmware-iwlwifi \
15+
firmware-realtek \
16+
firmware-atheros \
17+
firmware-amd-graphics \
18+
firmware-intel-sound \
19+
intel-microcode \
20+
amd64-microcode
1221

13-
deb http://cdn.debian.net/debian/ trixie-updates main contrib non-free non-free-firmware
14-
deb-src http://cdn.debian.net/debian/ trixie-updates main contrib non-free non-free-firmware
15-
16-
deb http://cdn.debian.net/debian/ trixie-backports main contrib non-free non-free-firmware
17-
deb-src http://cdn.debian.net/debian/ trixie-backports main contrib non-free non-free-firmware
18-
EOF
19-
20-
apt-get update -y || true
21-
22-
echo ">>> /etc/apt/sources.list updated successfully."
22+
echo "Firmware installation complete."

0 commit comments

Comments
 (0)