Skip to content

Commit 5f157eb

Browse files
committed
verify: fix hard-coded distro name for "sid" (Debian unstable)
Debian "sid" is not an actual distro version. Sid represents the "unstable" channel ("next stable in-progress"). Currently, it is equivalent to "bullseye", but once "bullseye" is stable, it becomes "bookworm", "trixy", etc (see the list of Debian releases at https://wiki.debian.org/DebianReleases). We should fix this hard-coded override, and instead try to get this name from information in /var/lib/apt/lists/. Also see docker/containerd-packaging#219 for details. Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 8245227 commit 5f157eb

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

install-containerd-helpers

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,15 @@ function install_debian_containerd() {
5454
curl -fsSL "${REPO_URL}/gpg" | apt-key add -
5555

5656
if [[ ${DIST_VERSION} == "sid" ]]; then
57-
DIST_VERSION='buster'
57+
# Debian "sid" is not an actual distro version. Sid represents the "unstable"
58+
# channel ("next stable in-progress"). Currently, it is equivalent to "bullseye",
59+
# but once "bullseye" is stable, it becomes "bookworm", "trixy", etc (see the
60+
# list of Debian releases at https://wiki.debian.org/DebianReleases).
61+
#
62+
# FIXME: this override should not be hard-coded, but instead we should try to
63+
# get this name from information in /var/lib/apt/lists/. Also see
64+
# https://github.com/docker/containerd-packaging/pull/219 for details.
65+
DIST_VERSION='bullseye'
5866
fi
5967
ARCH=$(dpkg --print-architecture)
6068

0 commit comments

Comments
 (0)