Skip to content

Commit

Permalink
Add support for trixie builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Salamandar committed Nov 4, 2024
1 parent 35bb21c commit d0a17eb
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ ln -s $PWD/config/distributions <some_www_exposed_path>/debian/conf/distribution
pushd scripts
bash make-chroots bullseye
bash make-chroots bookworm
bash make-chroots trixie
popd

# Add this in /etc/crontab :
Expand Down
13 changes: 13 additions & 0 deletions config/distributions
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,16 @@ Description: YunoHost repository for Debian Bookworm
SignWith: 3DAC3BD5
Tracking: all includechanges keepsources
Log: logfile

Origin: YunoHost
Label: YunoHost for Trixie
Suite: stable
Codename: trixie
Version: 13.0
Architectures: i386 amd64 armhf arm64 source
Components: stable testing unstable extra
AlsoAcceptFor: trixie-stable trixie-testing trixie-unstable stable testing unstable
Description: YunoHost repository for Debian Trixie
SignWith: 062612B9
Tracking: all includechanges keepsources
Log: logfile
2 changes: 1 addition & 1 deletion rebuild-unstable
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
readonly THISDIR=$(dirname "$0")
readonly TIMETAG="$(date +%Y%m%d%H%M)"
readonly PACKAGES=(moulinette SSOwat yunohost yunohost-admin yunohost-portal)
readonly DISTRIBS=(bookworm)
readonly DISTRIBS=(trixie)
readonly FORCE="false"

source "$THISDIR/config/config"
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_deb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Usage:
$THISSCRIPT <distrib> <branch> <folder>
Arguments:
<distrib> bullseye or bookworm
<distrib> bullseye, bookworm or trixie
<branch> stable, testing, or unstable
<folder> the folder in which to build...
<archs> list of archs to build (or empty for autodetect). For example: amd63,armhf
Expand Down
2 changes: 2 additions & 0 deletions ynh-build
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ if [[ "$(echo "$VERSION" | awk -F'.' '{print $1}')" == "11" ]]; then
readonly DISTRIB="bullseye"
elif [[ "$(echo "$VERSION" | awk -F'.' '{print $1}')" == "12" ]]; then
readonly DISTRIB="bookworm"
elif [[ "$(echo "$VERSION" | awk -F'.' '{print $1}')" == "13" ]]; then
readonly DISTRIB="trixie"
else
readonly DISTRIB="fixyoversionnumberbruh"
fi
Expand Down

0 comments on commit d0a17eb

Please sign in to comment.