Personal tools
The Open Lighting Project has moved!

We've launched our new site at www.openlighting.org. This wiki will remain and be updated with more technical information.

Difference between revisions of "Building a Custom Raspbian Image"

From wiki.openlighting.org

Jump to: navigation, search
Line 1: Line 1:
This page lists the differences between the default Raspbian wheezy image and the one from the [[Open Lighting Project]. If you create your own install from scratch you probably want to do most of these changes as well.
+
This page lists the differences between the default Raspbian wheezy image and the one from the [[Open Lighting Project]]. If you create your own install from scratch you probably want to do most of these changes as well.
  
 
* Password for the pi account changed to 'openlighting'
 
* Password for the pi account changed to 'openlighting'
Line 6: Line 6:
 
* Timezone set to  US/Pacific
 
* Timezone set to  US/Pacific
 
* Added the Open Lighting Debian Repo to /etc/apt/sources.lists :  deb  http://apt.openlighting.org/raspbian  wheezy main
 
* Added the Open Lighting Debian Repo to /etc/apt/sources.lists :  deb  http://apt.openlighting.org/raspbian  wheezy main
 +
* Root ssh access has been disabled in /etc/ssh/sshd_config
  
 
* Packages installed:
 
* Packages installed:
  
 
<pre>
 
<pre>
screen vim  
+
screen vim ola ola-rdm-tests
 
</pre>
 
</pre>
  
Line 16: Line 17:
  
 
<pre>
 
<pre>
 +
dbus-x11 desktop-base desktop-file-utils dillo gdb gdbserver gconf-service gconf2 gconf2-common gnome-icon-theme gnome-themes-standard gpicview
 +
gtk2-engines:armhf  hicolor-icon-theme 
 +
samba-common scratch smartsim squeak-plugins-scratch  squeak-vm  triggerhappy usbmuxd
 +
xserver-common xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-synaptics xserver-xorg-video-fbdev
 +
xdg-utils xauth x11-xkb-utils x11-utils x11-common 
 +
</pre>
  
</pre>
+
* Finally run apt-get autoremove
 +
== Git Image ==
  
---
+
The following additional changes are done for the git image. The ola debian package normally does this, but since we're installing from source we need to do it ourselves.
  
 
* Many unused packages have been removed (samba, X, mysql, nfs etc.)
 
* Many unused packages have been removed (samba, X, mysql, nfs etc.)
 +
* /etc/rc.local has been modified to regenerate the ssh keys on the first boot
 +
 
* OLA dependancies have been installed (microhttpd, libusb, etc.)
 
* OLA dependancies have been installed (microhttpd, libusb, etc.)
 
* The OLA git repo has been cloned into /home/ola/ola
 
* The OLA git repo has been cloned into /home/ola/ola
* Root ssh access has been disabled
 
 
* The ola account was added and added to the dialout & plugdev groups
 
* The ola account was added and added to the dialout & plugdev groups
* /etc/rc.local has been modified to regenerate the ssh keys on the first boot
 
* Various other accounts have been removed (pnd, tli, buildbot etc.).
 
 
* /etc/udev/rules.d/10-local.rules was updated according to [[OLA_Device_Specific_Configuration]]
 
* /etc/udev/rules.d/10-local.rules was updated according to [[OLA_Device_Specific_Configuration]]

Revision as of 08:42, 12 October 2012

This page lists the differences between the default Raspbian wheezy image and the one from the Open Lighting Project. If you create your own install from scratch you probably want to do most of these changes as well.

  • Password for the pi account changed to 'openlighting'
  • Rootfs expanded to 4GB using `sudo raspi-config`
  • Simon's key installed into /home/pi/.ssh/authorized_keys
  • Timezone set to US/Pacific
  • Added the Open Lighting Debian Repo to /etc/apt/sources.lists : deb http://apt.openlighting.org/raspbian wheezy main
  • Root ssh access has been disabled in /etc/ssh/sshd_config
  • Packages installed:
screen vim ola ola-rdm-tests
  • Packages removed:
dbus-x11 desktop-base desktop-file-utils dillo gdb gdbserver gconf-service gconf2 gconf2-common gnome-icon-theme gnome-themes-standard gpicview
gtk2-engines:armhf  hicolor-icon-theme  
samba-common scratch smartsim squeak-plugins-scratch  squeak-vm  triggerhappy usbmuxd 
xserver-common xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-synaptics xserver-xorg-video-fbdev
xdg-utils xauth x11-xkb-utils x11-utils x11-common  
  • Finally run apt-get autoremove

Git Image

The following additional changes are done for the git image. The ola debian package normally does this, but since we're installing from source we need to do it ourselves.

  • Many unused packages have been removed (samba, X, mysql, nfs etc.)
  • /etc/rc.local has been modified to regenerate the ssh keys on the first boot
  • OLA dependancies have been installed (microhttpd, libusb, etc.)
  • The OLA git repo has been cloned into /home/ola/ola
  • The ola account was added and added to the dialout & plugdev groups
  • /etc/udev/rules.d/10-local.rules was updated according to OLA_Device_Specific_Configuration