Last active
August 29, 2015 14:04
-
-
Save jbaiter/4f385a20d7c56410fb10 to your computer and use it in GitHub Desktop.
Installing spreads on a virgin Raspbian installation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Become root: | |
$ su | |
Add spreads repository: | |
echo "deb http://spreads.jbaiter.de/raspbian wheezy main" >> /etc/apt/sources.list | |
Update system to newest packages: | |
$ apt-get update | |
$ apt-get upgrade | |
Install spreads, the web plugin and chdkptp | |
$ apt-get install spreads spreads-web chdkptp | |
Some wild udev incantations to make USB devices writable for all users (and other stuff I don't precisely remember...) | |
$ echo 'ACTION=="add", SUBSYSTEM=="usb", MODE:="666"' > /etc/udev/rules.d/99-usb.rules | |
$ sed -i -e 's/KERNEL\!="eth\*|/KERNEL\!="/' /lib/udev/rules.d/75-persistent-net-generator.rules | |
$ rm -f /etc/udev/rules.d/70-persistent-net.rules | |
Install udisks and allow user to mount removable devices (required for 'transfer to stick' feature) | |
$ apt-get install dbus udisks | |
$ echo "[Storage Permissions] | |
Identity=unix-group:plugdev | |
Action=org.freedesktop.udisks.filesystem-mount;org.freedesktop.udisks.drive-eject;org.freedesktop.udisks.drive-detach;org.freedesktop.udisks.luks-unlock;org.freedesktop.udisks.inhibit-polling;org.freedesktop.udisks.drive-set-spindown | |
ResultAny=yes | |
ResultActive=yes | |
ResultInactive=yes | |
" > /etc/polkit-1/localauthority/50-local.d/55-udisks.pkla | |
Become a regular user again | |
$ exit | |
Spreads should be fully usable now, run 'spread configure' to configure it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment