mirror of
https://github.com/YunoHost/cd_build.git
synced 2024-09-03 20:06:24 +02:00
Merge pull request #11 from arthurlogilab/buster
[debian] replace stretch by buster
This commit is contained in:
commit
66d5f333bf
4 changed files with 10 additions and 10 deletions
|
@ -99,7 +99,7 @@ if [ -e "$outfile" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
suite="$3"
|
suite="$3"
|
||||||
if [ "$suite" != "stretch" ] && [ "$suite" != "jessie" ]; then
|
if [ "$suite" != "buster" ] && [ "$suite" != "stretch" ]; 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=stretch
|
deb_dist=buster
|
||||||
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 stretch
|
# DEB_DIST buster
|
||||||
|
|
||||||
readonly DEFAULT_DEB_DIST="stretch"
|
readonly DEFAULT_DEB_DIST="buster"
|
||||||
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 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
|
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
|
fi
|
||||||
|
|
||||||
rm -rf $(pwd)/tmp
|
rm -rf $(pwd)/tmp
|
||||||
|
|
|
@ -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/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/ 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/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