Install usb cloning tool on mesh client

This commit is contained in:
Bob Mottram 2017-09-23 21:43:15 +01:00
parent b4d1b8065b
commit 08989af24b
1 changed files with 7 additions and 0 deletions

View File

@ -565,6 +565,10 @@ PATCHWORK_REPO="https://github.com/ssbc/patchwork"
PATCHWORK_COMMIT='60111a9e3385d65be0d17aa0d15fd20e5fb311ce'
install_patchwork() {
if [[ $VARIANT != "meshclient" ]]; then
return
fi
get_npm_arch
git clone $PATCHWORK_REPO $rootdir/etc/patchwork
@ -821,6 +825,9 @@ function configure_user_interface {
# android adb to allow phones to be connected and for example transfer photos/documents
chroot "$rootdir" apt-get -yq install android-tools-adb
# USB cloning tool
chroot "$rootdir" apt-get -yq install gnome-multi-writer
# Produce a text file on the desktop listing users on the mesh
cat <<EOF > $rootdir/usr/bin/list-tox-users
#!/bin/bash