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 fdb0fe1 commit 5c5c809
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 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: 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 5c5c809

Please sign in to comment.