Add backports

This commit is contained in:
Bob Mottram 2016-07-31 00:08:14 +01:00
parent 548a6149c5
commit 0142ddf9c8
1 changed files with 14 additions and 0 deletions

View File

@ -619,6 +619,17 @@ function configure_user_interface {
return
fi
if [ ! $DEBIAN_REPO ]; then
DEBIAN_REPO='ftp.de.debian.org'
fi
if [ ! $DEBIAN_VERSION ]; then
DEBIAN_VERSION='jessie'
fi
# install backports
echo "deb http://${DEBIAN_REPO}/debian/ ${DEBIAN_VERSION}-backports main" >> $rootdir/etc/apt/sources.list
chroot "$rootdir" apt-get -y update
# desktop
chroot "$rootdir" apt-get -y install mate-desktop-environment
@ -628,6 +639,9 @@ function configure_user_interface {
# for tomb
chroot "$rootdir" apt-get -y install pinentry-gtk2
# for tox video
chroot "$rootdir" apt-get -y install ffmpeg
if [[ $VARIANT != "usb" ]]; then
# log in automatically
chroot "$rootdir" apt-get -y install nodm xinit