Browse Source

Install usb cloning tool on mesh client

Bob Mottram 7 years ago
parent
commit
08989af24b
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      src/freedombone-image-customise

+ 7
- 0
src/freedombone-image-customise View File

565
 PATCHWORK_COMMIT='60111a9e3385d65be0d17aa0d15fd20e5fb311ce'
565
 PATCHWORK_COMMIT='60111a9e3385d65be0d17aa0d15fd20e5fb311ce'
566
 
566
 
567
 install_patchwork() {
567
 install_patchwork() {
568
+    if [[ $VARIANT != "meshclient" ]]; then
569
+        return
570
+    fi
571
+
568
     get_npm_arch
572
     get_npm_arch
569
 
573
 
570
     git clone $PATCHWORK_REPO $rootdir/etc/patchwork
574
     git clone $PATCHWORK_REPO $rootdir/etc/patchwork
821
     # android adb to allow phones to be connected and for example transfer photos/documents
825
     # android adb to allow phones to be connected and for example transfer photos/documents
822
     chroot "$rootdir" apt-get -yq install android-tools-adb
826
     chroot "$rootdir" apt-get -yq install android-tools-adb
823
 
827
 
828
+    # USB cloning tool
829
+    chroot "$rootdir" apt-get -yq install gnome-multi-writer
830
+
824
     # Produce a text file on the desktop listing users on the mesh
831
     # Produce a text file on the desktop listing users on the mesh
825
     cat <<EOF > $rootdir/usr/bin/list-tox-users
832
     cat <<EOF > $rootdir/usr/bin/list-tox-users
826
 #!/bin/bash
833
 #!/bin/bash