mirror of
https://github.com/YunoHost/cd_build.git
synced 2024-09-03 20:06:24 +02:00
Bullseye
This commit is contained in:
parent
3e60ac0b0f
commit
eeac463838
6 changed files with 9 additions and 9 deletions
|
@ -53,7 +53,7 @@ To easily reproduce and investigate the issue, it's easier to manually create a
|
||||||
apt install cdebootstrap -y
|
apt install cdebootstrap -y
|
||||||
cd /root/
|
cd /root/
|
||||||
mkdir mychroot
|
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 -t proc none ./mychroot/proc
|
||||||
mount -o bind /dev ./mychroot/dev
|
mount -o bind /dev ./mychroot/dev
|
||||||
chroot ./mychroot/ bash
|
chroot ./mychroot/ bash
|
||||||
|
|
|
@ -99,7 +99,7 @@ if [ -e "$outfile" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
suite="$3"
|
suite="$3"
|
||||||
if [ "$suite" != "buster" ] && [ "$suite" != "stretch" ]; then
|
if [ "$suite" != "buster" ] && [ "$suite" != "bullseye" ]; then
|
||||||
echo "Unrecognized suite $suite, trying anyway." >&2
|
echo "Unrecognized suite $suite, trying anyway." >&2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@ compare_version () {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
deb_dist=buster
|
deb_dist=bullseye
|
||||||
dist=stable
|
dist=stable
|
||||||
compare_version "$(get_ynh_release)"
|
compare_version "$(get_ynh_release)"
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
# Usage ./build-yunohost [ARCH [DIST [DEB_DIST]]]
|
# Usage ./build-yunohost [ARCH [DIST [DEB_DIST]]]
|
||||||
# ARCH amd64|i386
|
# ARCH amd64|i386
|
||||||
# DIST stable|testing
|
# 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 REPO_URL="http://forge.yunohost.org/debian/"
|
||||||
|
|
||||||
readonly ARCH_CHOICE=$1
|
readonly ARCH_CHOICE=$1
|
||||||
|
@ -22,9 +22,9 @@ function build
|
||||||
info "Starting build for arch $ARCH ..."
|
info "Starting build for arch $ARCH ..."
|
||||||
|
|
||||||
if [ "$DIST" = "testing" ] ; then
|
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
|
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
|
fi
|
||||||
|
|
||||||
rm -rf $(pwd)/tmp
|
rm -rf $(pwd)/tmp
|
||||||
|
|
|
@ -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/security_host string security.debian.org
|
||||||
|
|
||||||
d-i apt-setup/local0/repository string \
|
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/key string http://forge.yunohost.org/yunohost.asc
|
||||||
d-i apt-setup/local0/comment string YunoHost repository
|
d-i apt-setup/local0/comment string YunoHost repository
|
||||||
#d-i debian-installer/allow_unauthenticated string true
|
#d-i debian-installer/allow_unauthenticated string true
|
||||||
|
|
|
@ -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/security_host string security.debian.org
|
||||||
|
|
||||||
d-i apt-setup/local0/repository string \
|
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/key string http://forge.yunohost.org/yunohost.asc
|
||||||
d-i apt-setup/local0/comment string YunoHost repository
|
d-i apt-setup/local0/comment string YunoHost repository
|
||||||
#d-i debian-installer/allow_unauthenticated string true
|
#d-i debian-installer/allow_unauthenticated string true
|
||||||
|
|
Loading…
Add table
Reference in a new issue