ソースを参照

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,6 +565,10 @@ PATCHWORK_REPO="https://github.com/ssbc/patchwork"
565 565
 PATCHWORK_COMMIT='60111a9e3385d65be0d17aa0d15fd20e5fb311ce'
566 566
 
567 567
 install_patchwork() {
568
+    if [[ $VARIANT != "meshclient" ]]; then
569
+        return
570
+    fi
571
+
568 572
     get_npm_arch
569 573
 
570 574
     git clone $PATCHWORK_REPO $rootdir/etc/patchwork
@@ -821,6 +825,9 @@ function configure_user_interface {
821 825
     # android adb to allow phones to be connected and for example transfer photos/documents
822 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 831
     # Produce a text file on the desktop listing users on the mesh
825 832
     cat <<EOF > $rootdir/usr/bin/list-tox-users
826 833
 #!/bin/bash