浏览代码

Install usb cloning tool on mesh client

Bob Mottram 7 年前
父节点
当前提交
08989af24b
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7
    0
      src/freedombone-image-customise

+ 7
- 0
src/freedombone-image-customise 查看文件

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