From 849ee8dbec87e9c68b52b7a464795c4ece4d030c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 10 Jun 2016 11:43:17 +0100 Subject: [PATCH] qtox repo only works with certain architectures --- src/freedombone-image-customise | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index 706bc831..61fce6ae 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -1050,13 +1050,17 @@ function configure_user_interface { # desktop chroot "$rootdir" apt-get -y install mate-desktop-environment - + # browser chroot "$rootdir" apt-get -y install iceweasel - - # Tox user interface - enable_tox_repo - chroot "$rootdir" apt-get -y install qtox + + # NOTE: The Tox repo only supports a limited range of architectures + if [[ $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'i386' ]]; then + # Tox user interface + enable_tox_repo + # TODO: this may not work on all architectures + chroot "$rootdir" apt-get -y install qtox + fi # Syncthing install_syncthing @@ -1079,7 +1083,7 @@ function configure_user_interface { chroot "$rootdir" apt-get -y install hexchat profanity # zeronet - + # TODO fi }