Skip to content

Commit 2b5e0ce

Browse files
committed
ptxdist: remove Debian bookworm special cases
We no longer build Debian bookworm based images, so we can remove the special case handling for them. Signed-off-by: Leonard Göhrs <[email protected]>
1 parent 2bdbcf0 commit 2b5e0ce

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

ptxdist/ptx-bookworm.list

Lines changed: 0 additions & 4 deletions
This file was deleted.

ptxdist/setup.sh

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,8 @@ source "${selfdir}/../common/common.sh"
99
debian_release=$(grep '^VERSION_CODENAME=' /etc/os-release | cut -d= -f2)
1010

1111
sudo rm -f "/etc/apt/sources.list" "/etc/apt/sources.list.d/*"
12-
13-
if [ "${debian_release}" = "bookworm" ]
14-
then
15-
sudo cp "$selfdir/ptx-${debian_release}.list" /etc/apt/sources.list.d/ptx.list
16-
sudo cp "$selfdir/pengutronix-archive-keyring-2025.gpg" /etc/apt/trusted.gpg.d/
17-
else
18-
sudo cp "$selfdir/ptx-${debian_release}.sources" /etc/apt/sources.list.d/ptx.sources
19-
sudo cp "$selfdir/pengutronix-archive-keyring-2025.gpg" /usr/share/keyrings/pengutronix-archive-keyring.gpg
20-
fi
12+
sudo cp "$selfdir/ptx-${debian_release}.sources" /etc/apt/sources.list.d/ptx.sources
13+
sudo cp "$selfdir/pengutronix-archive-keyring-2025.gpg" /usr/share/keyrings/pengutronix-archive-keyring.gpg
2114

2215
cat "$selfdir/ssh_config" >> ~/.ssh/config
2316

0 commit comments

Comments
 (0)