From 5c5c8095c8ed413fafd84676984a3c19ab42590d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 4 Nov 2024 22:25:38 +0100 Subject: [PATCH] Add support for trixie builds --- README.md | 1 + config/distributions | 13 +++++++++++++ ynh-build | 2 ++ 3 files changed, 16 insertions(+) diff --git a/README.md b/README.md index 9985d00..595df27 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,7 @@ ln -s $PWD/config/distributions /debian/conf/distribution pushd scripts bash make-chroots bullseye bash make-chroots bookworm + bash make-chroots trixie popd # Add this in /etc/crontab : diff --git a/config/distributions b/config/distributions index 9e466bd..af41c62 100644 --- a/config/distributions +++ b/config/distributions @@ -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 diff --git a/ynh-build b/ynh-build index 500d79c..8980251 100755 --- a/ynh-build +++ b/ynh-build @@ -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