Drop support for buster

This commit is contained in:
Alexandre Aubin 2024-03-05 22:42:14 +01:00
parent b0a7f727d4
commit 9f52c4becc
5 changed files with 3 additions and 21 deletions

View file

@ -1,16 +1,3 @@
Origin: YunoHost
Label: YunoHost for Buster
Suite: stable
Codename: buster
Version: 10.0
Architectures: i386 amd64 armel armhf arm64 source
Components: stable testing unstable extra
AlsoAcceptFor: buster-stable buster-testing buster-unstable stable testing unstable
Description: YunoHost repository for Debian Buster
SignWith: 59A3E6FF
Tracking: all includechanges keepsources
Log: logfile
Origin: YunoHost Origin: YunoHost
Label: YunoHost for Bullseye Label: YunoHost for Bullseye
Suite: stable Suite: stable

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
readonly THISSCRIPT=$0 readonly THISSCRIPT=$0
readonly DISTRIBS="buster bullseye bookworm" readonly DISTRIBS="bullseye bookworm"
readonly TIMETAG="$(date +%Y%m%d%H%M)" readonly TIMETAG="$(date +%Y%m%d%H%M)"
readonly PACKAGES="moulinette SSOwat yunohost yunohost-admin" readonly PACKAGES="moulinette SSOwat yunohost yunohost-admin"
readonly FORCE="false" readonly FORCE="false"
@ -43,7 +43,6 @@ function build_if_needed()
local DISTRIB=$2 local DISTRIB=$2
local LAST_BUILD_FOR_THIS_PACKAGE=$LAST_BUILDS_CACHE/${DISTRIB}_${PACKAGE} local LAST_BUILD_FOR_THIS_PACKAGE=$LAST_BUILDS_CACHE/${DISTRIB}_${PACKAGE}
[[ $DISTRIB == "buster" ]] && BRANCH_NIGHTLY="buster"
[[ $DISTRIB == "bullseye" ]] && BRANCH_NIGHTLY="dev" [[ $DISTRIB == "bullseye" ]] && BRANCH_NIGHTLY="dev"
[[ $DISTRIB == "bookworm" ]] && BRANCH_NIGHTLY="bookworm" [[ $DISTRIB == "bookworm" ]] && BRANCH_NIGHTLY="bookworm"

View file

@ -21,7 +21,7 @@ Usage:
$THISSCRIPT <distrib> <branch> <folder> $THISSCRIPT <distrib> <branch> <folder>
Arguments: Arguments:
<distrib> buster or bullseye or bookworm <distrib> bullseye or bookworm
<branch> stable, testing, or unstable <branch> stable, testing, or unstable
<folder> the folder in which to build... <folder> the folder in which to build...
<archs> list of archs to build (or empty for autodetect). For example: amd63,armhf <archs> list of archs to build (or empty for autodetect). For example: amd63,armhf

View file

@ -4,7 +4,6 @@ readonly THISSCRIPT=$0
readonly PACKAGE=$1 readonly PACKAGE=$1
readonly BRANCH=$2 readonly BRANCH=$2
readonly DISTRIB="bullseye" readonly DISTRIB="bullseye"
#readonly DISTRIB="buster"
readonly DISTRIB_N="11" readonly DISTRIB_N="11"
source /home/vinaigrette/config/config source /home/vinaigrette/config/config

View file

@ -6,10 +6,7 @@ readonly BRANCH=$2
readonly VERSION=$3 readonly VERSION=$3
readonly TAG=$(echo "debian/$VERSION" | tr '~' '-') readonly TAG=$(echo "debian/$VERSION" | tr '~' '-')
if [[ "$(echo $VERSION | awk -F'.' '{print $1}')" == "4" ]] if [[ "$(echo $VERSION | awk -F'.' '{print $1}')" == "11" ]]
then
readonly DISTRIB="buster"
elif [[ "$(echo $VERSION | awk -F'.' '{print $1}')" == "11" ]]
then then
readonly DISTRIB="bullseye" readonly DISTRIB="bullseye"
elif [[ "$(echo $VERSION | awk -F'.' '{print $1}')" == "12" ]] elif [[ "$(echo $VERSION | awk -F'.' '{print $1}')" == "12" ]]