This commit is contained in:
Alexandre Aubin 2022-02-09 18:18:54 +01:00
parent 3e60ac0b0f
commit eeac463838
6 changed files with 9 additions and 9 deletions

View file

@ -53,7 +53,7 @@ To easily reproduce and investigate the issue, it's easier to manually create a
apt install cdebootstrap -y
cd /root/
mkdir mychroot
cdebootstrap --arch=amd64 buster ./mychroot/ http://deb.debian.org/debian/
cdebootstrap --arch=amd64 bullseye ./mychroot/ http://deb.debian.org/debian/
mount -t proc none ./mychroot/proc
mount -o bind /dev ./mychroot/dev
chroot ./mychroot/ bash

View file

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

View file

@ -58,7 +58,7 @@ compare_version () {
fi
}
deb_dist=buster
deb_dist=bullseye
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 buster
# DEB_DIST bullseye
readonly DEFAULT_DEB_DIST="buster"
readonly DEFAULT_DEB_DIST="bullseye"
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 buster stable#$REPO_URL $DEB_DIST stable testing#" profiles/*.preseed
sed -i "s#$REPO_URL bullseye stable#$REPO_URL $DEB_DIST stable testing#" profiles/*.preseed
else
sed -i "s#$REPO_URL buster stable testing#$REPO_URL $DEB_DIST stable#" profiles/*.preseed
sed -i "s#$REPO_URL bullseye stable testing#$REPO_URL $DEB_DIST stable#" profiles/*.preseed
fi
rm -rf $(pwd)/tmp

View file

@ -70,7 +70,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/ buster stable
http://forge.yunohost.org/debian/ bullseye 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

View file

@ -71,7 +71,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/ buster stable
http://forge.yunohost.org/debian/ bullseye 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