Explorar el Código

Add backports

Bob Mottram hace 8 años
padre
commit
0142ddf9c8
Se han modificado 1 ficheros con 14 adiciones y 0 borrados
  1. 14
    0
      src/freedombone-image-customise

+ 14
- 0
src/freedombone-image-customise Ver fichero

@@ -619,6 +619,17 @@ function configure_user_interface {
619 619
 		return
620 620
 	fi
621 621
 
622
+	if [ ! $DEBIAN_REPO ]; then
623
+		DEBIAN_REPO='ftp.de.debian.org'
624
+	fi
625
+	if [ ! $DEBIAN_VERSION ]; then
626
+		DEBIAN_VERSION='jessie'
627
+	fi
628
+
629
+	# install backports
630
+	echo "deb http://${DEBIAN_REPO}/debian/ ${DEBIAN_VERSION}-backports main" >> $rootdir/etc/apt/sources.list
631
+	chroot "$rootdir" apt-get -y update
632
+
622 633
 	# desktop
623 634
 	chroot "$rootdir" apt-get -y install mate-desktop-environment
624 635
 
@@ -628,6 +639,9 @@ function configure_user_interface {
628 639
 	# for tomb
629 640
 	chroot "$rootdir" apt-get -y install pinentry-gtk2
630 641
 
642
+	# for tox video
643
+	chroot "$rootdir" apt-get -y install ffmpeg
644
+
631 645
 	if [[ $VARIANT != "usb" ]]; then
632 646
 		# log in automatically
633 647
 		chroot "$rootdir" apt-get -y install nodm xinit