Change distro to stretch

This commit is contained in:
Bob Mottram 2017-05-29 13:57:39 +01:00
parent 54c9a071f9
commit d308c83e0a
7 changed files with 7 additions and 9 deletions

View File

@ -222,7 +222,7 @@ function add_cert_letsencrypt {
fi
if [ ! -f /usr/bin/certbot ]; then
apt-get -yq install certbot -t jessie-backports
apt-get -yq install certbot
if [ ! -f /usr/bin/certbot ]; then
echo $'LetsEncrypt certbot failed to install'
exit 762830

View File

@ -613,7 +613,7 @@ function install_irc_bouncer {
return
fi
apt-get -yq -t jessie-backports install znc
apt-get -yq install znc
adduser --disabled-login --gecos 'znc' znc

View File

@ -652,8 +652,6 @@ function create_private_mailing_list {
if [ ! -d /etc/exim4 ]; then
return
fi
# This installation doesn't work, results in ruby errors
# There is currently no schleuder package for Debian jessie
if [[ $(is_completed $FUNCNAME) == "1" ]]; then
return
fi

View File

@ -1022,7 +1022,7 @@ function image_setup_utils {
chroot "$rootdir" apt-get -yq install nfs-kernel-server
if [[ $ARCHITECTURE == 'amd64' ]]; then
chroot "$rootdir" apt-get -yq install linux-image-amd64 -t jessie-backports
chroot "$rootdir" apt-get -yq install linux-image-amd64
fi
if [[ $ARCHITECTURE == 'qemu'* || $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'x86_64' || $ARCHITECTURE == 'i686' || $ARCHITECTURE == 'i386' ]]; then
@ -1247,7 +1247,7 @@ if [ ! $DEBIAN_REPO ]; then
DEBIAN_REPO='ftp.de.debian.org'
fi
if [ ! $DEBIAN_VERSION ]; then
DEBIAN_VERSION='jessie'
DEBIAN_VERSION='stretch'
fi
set_apt_sources $BUILD_MIRROR

View File

@ -31,7 +31,7 @@ MIRROR ?= http://httpredir.debian.org/debian
BUILD_MIRROR ?= http://httpredir.debian.org/debian
IMAGE_SIZE ?= 8G
IMAGE_NAME ?= 'full'
SUITE ?= jessie
SUITE ?= stretch
# include source packages in image?
SOURCE ?= false

View File

@ -177,7 +177,7 @@ function install_backports_kernel {
architecture_type=$(uname -a)
if [[ "$architecture_type" == *"amd64"* ]]; then
apt-get -yq install linux-image-amd64 -t jessie-backports
apt-get -yq install linux-image-amd64
fi
}

View File

@ -72,7 +72,7 @@ ROUTE_THROUGH_TOR="no"
# Whether this system is being installed within a docker container
INSTALLED_WITHIN_DOCKER="no"
DEBIAN_VERSION="jessie"
DEBIAN_VERSION="stretch"
# social key management
ENABLE_SOCIAL_KEY_MANAGEMENT="no"