| 1 | #␊ |
| 2 | # Copyright Golden Delicious Computers GmbH&Co. KG, 2010␊ |
| 3 | # licenced unter GPL 2.0␊ |
| 4 | #␊ |
| 5 | # this is part of Lenny400␊ |
| 6 | #␊ |
| 7 | # run this script after first install to upgrade the bootstrapped image to a useful image␊ |
| 8 | #␊ |
| 9 | ␊ |
| 10 | umount /dev␊ |
| 11 | rm -rf /dev/.udev␉# this is debris from bootstrapping␊ |
| 12 | depmod -a␊ |
| 13 | apt-get update␉␉# get latest package list␊ |
| 14 | date 010100002015␉# get rid of 'in the future' warnings from tar until we have ntp␊ |
| 15 | ␊ |
| 16 | # command line tools␊ |
| 17 | ␊ |
| 18 | apt-get install -y ntp␊ |
| 19 | apt-get install -y udev␊ |
| 20 | apt-get install -y dnsutils␊ |
| 21 | apt-get install -y mtd-utils␊ |
| 22 | apt-get install -y usbmount␊ |
| 23 | # apt-get install -y zd1211-firmware␉# does not work on mipsel␊ |
| 24 | apt-get install -y wireless-tools␊ |
| 25 | apt-get install -y bluez-utils␊ |
| 26 | apt-get install -y openssh-server openssh-client␊ |
| 27 | apt-get install -y usb-modeswitch-data/testing usb-modeswitch/testing␊ |
| 28 | ␊ |
| 29 | # add any GUI components you want to load here␊ |
| 30 | ␊ |
| 31 | # apt-get install -y gnome-core gdm␊ |
| 32 | # apt-get install -y kde-core kdm␊ |
| 33 | # apt-get install -y xfce4␊ |
| 34 | # apt-get install -y gdm␊ |
| 35 | # apt-get install -y matchbox␊ |
| 36 | apt-get install -y lxde␊ |
| 37 | # apt-get install -y synaptic␊ |
| 38 | # apt-get install -y QuantumSTEP␊ |
| 39 | ␊ |
| 40 | # cleanup␊ |
| 41 | ␊ |
| 42 | apt-get -y autoremove␊ |
| 43 | apt-get -y autoclean␊ |
| 44 | ␊ |
| 45 | # save a snapshot of the resulting system (copy from this SD to some server)␊ |
| 46 | # rm /boot/*.tbz␊ |
| 47 | # tar cvjf /boot/rootfs.tbz /␊ |
| 48 | ␊ |
| 49 | rm postinst |