Skip to content

Commit

Permalink
Deprecate bionic support since it misses support for new security fea…
Browse files Browse the repository at this point in the history
…tures
  • Loading branch information
evilaliv3 committed Dec 31, 2024
1 parent 611d5c3 commit 32f2066
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 62 deletions.
12 changes: 0 additions & 12 deletions backend/requirements/requirements-bionic.txt

This file was deleted.

42 changes: 0 additions & 42 deletions debian/controlX/control.bionic

This file was deleted.

8 changes: 1 addition & 7 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ usage() {
echo " -h"
echo -e " -t tagname (build specific release/branch)"
echo -e " -l (Use local repository & enviroment)"
echo -e " -d distribution (available: bionic, bookworm, bullseye, buster, focal, jammy, noble)"
echo -e " -d distribution (available: bookworm, bullseye, buster, focal, jammy, noble)"
echo -e " -n (do not sign)"
echo -e " -p (push on repository)"
}
Expand Down Expand Up @@ -100,12 +100,6 @@ for TARGET in $TARGETS; do

rm debian/control backend/requirements.txt

if [ "$TARGET" == "bionic" ]; then
echo 10 > debian/compat
else
echo 12 > debian/compat
fi

cp debian/controlX/control.$TARGET debian/control
cp backend/requirements/requirements-$TARGET.txt backend/requirements.txt

Expand Down
2 changes: 1 addition & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ DO "apt-get -y install gnupg net-tools software-properties-common wget"
# Depending on the intention of the user to proceed anyhow installing on
# a not supported distro we using the experimental package if it exists
# or bookworm as fallback.
if echo "$DISTRO_CODENAME" | grep -vqE "^(bionic|bookworm|bullseye|buster|focal|jammy|noble)$"; then
if echo "$DISTRO_CODENAME" | grep -vqE "^(bookworm|bullseye|buster|focal|jammy|noble)$"; then
# In case of unsupported platforms we fallback on bookworm
echo "No packages available for the current distribution; the install script will use the bookworm repository."
DISTRO="Debian"
Expand Down

0 comments on commit 32f2066

Please sign in to comment.