Skip to content

Commit fa1edef

Browse files
committed
Wait could I have just added sources.list like this the whole time?
1 parent 042a0c8 commit fa1edef

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed
Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
#!/bin/bash
2-
# Set the sources (kinda a bodge)
3-
4-
echo ">>> Setting up /etc/apt/sources.list..."
5-
6-
cat > /etc/apt/sources.list <<'EOF'
71
deb http://cdn.debian.net/debian/ trixie main contrib non-free non-free-firmware
82
deb-src http://cdn.debian.net/debian/ trixie main contrib non-free non-free-firmware
93

@@ -15,8 +9,3 @@ deb-src http://cdn.debian.net/debian/ trixie-updates main contrib non-free non-f
159

1610
deb http://cdn.debian.net/debian/ trixie-backports main contrib non-free non-free-firmware
1711
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."

Trixie/config/hooks/live/9001-firmware.binary

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ set -e
33

44
echo "Installing firmware and microcode packages..."
55

6+
sudo apt update
7+
68
# Install firmware and CPU microcode packages
79
apt-get install -y --no-install-recommends \
810
firmware-linux \
@@ -14,6 +16,7 @@ apt-get install -y --no-install-recommends \
1416
firmware-amd-graphics \
1517
firmware-intel-sound \
1618
intel-microcode \
17-
amd64-microcode
19+
amd64-microcode \
20+
cowsay
1821

1922
echo "Firmware installation complete."

0 commit comments

Comments
 (0)