Merge pull request #11 from arthurlogilab/buster

[debian] replace stretch by buster
This commit is contained in:
Alexandre Aubin 2020-07-31 18:28:59 +02:00 committed by GitHub
commit 66d5f333bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 10 deletions

View file

@ -99,7 +99,7 @@ if [ -e "$outfile" ]; then
fi
suite="$3"
if [ "$suite" != "stretch" ] && [ "$suite" != "jessie" ]; then
if [ "$suite" != "buster" ] && [ "$suite" != "stretch" ]; then
echo "Unrecognized suite $suite, trying anyway." >&2
fi

View file

@ -58,7 +58,7 @@ compare_version () {
fi
}
deb_dist=stretch
deb_dist=buster
dist=stable
compare_version "$(get_ynh_release)"

View file

@ -2,9 +2,9 @@
# Usage ./build-yunohost [ARCH [DIST [DEB_DIST]]]
# ARCH amd64|i386
# DIST stable|testing
# DEB_DIST stretch
# DEB_DIST buster
readonly DEFAULT_DEB_DIST="stretch"
readonly DEFAULT_DEB_DIST="buster"
readonly REPO_URL="http://forge.yunohost.org/debian/"
readonly ARCH_CHOICE=$1
@ -22,9 +22,9 @@ function build
info "Starting build for arch $ARCH ..."
if [ "$DIST" = "testing" ] ; then
sed -i "s#$REPO_URL stretch stable#$REPO_URL $DEB_DIST stable testing#" profiles/*.preseed
sed -i "s#$REPO_URL buster stable#$REPO_URL $DEB_DIST stable testing#" profiles/*.preseed
else
sed -i "s#$REPO_URL stretch stable testing#$REPO_URL $DEB_DIST stable#" profiles/*.preseed
sed -i "s#$REPO_URL buster stable testing#$REPO_URL $DEB_DIST stable#" profiles/*.preseed
fi
rm -rf $(pwd)/tmp

View file

@ -69,7 +69,7 @@ d-i apt-setup/services-select multiselect security, updates
d-i apt-setup/security_host string security.debian.org
d-i apt-setup/local0/repository string \
http://forge.yunohost.org/debian/ stretch stable
http://forge.yunohost.org/debian/ buster stable
d-i apt-setup/local0/key string http://forge.yunohost.org/yunohost.asc
d-i apt-setup/local0/comment string YunoHost repository
#d-i debian-installer/allow_unauthenticated string true