livecd-nonfree.xml
1: <live_helper>
2: <build_depents>splashy xfdesktop4-data</build_depents>
3: <common>
4: <lh_initramfs>live-initramfs</lh_initramfs>
5: <apt_options>--yes --force-yes</apt_options>
6: <lh_apt_recommends>disabled</lh_apt_recommends>
7: </common>
8: <bootstrap>
9: <lh_architecture>i386</lh_architecture>
10: <lh_distribution>lenny</lh_distribution>
11: <lh_mirror_bootstrap>http://ftp.uni-koeln.de/debian/</lh_mirror_bootstrap>
12: <lh_mirror_chroot>http://ftp.uni-koeln.de/debian/</lh_mirror_chroot>
13: <lh_mirror_chroot_security>http://security.debian.org/</lh_mirror_chroot_security>
14: <lh_mirror_binary>http://ftp.uni-koeln.de/debian/</lh_mirror_binary>
15: <lh_mirror_binary_security>http://security.debian.org/</lh_mirror_binary_security>
16: <lh_sections>main contrib non-free</lh_sections>
17: </bootstrap>
18: <chroot>
19: <lh_packages_lists>standard-x11 common unixconf x11 x11-web x11-soft sxframe sxframe-dev xfce stm32-dev rcos-dev avr-dev python rx12-tools audio-tools arduino-deps tcl</lh_packages_lists>
20: </chroot>
21: <binary>
22: <lh_binary_images>iso</lh_binary_images>
23: <lh_bootloader>syslinux</lh_bootloader>
24: <lh_syslinux_timeout>3</lh_syslinux_timeout>
25: <lh_syslinux_splash>../Website/tools/livecd/syslinux.rle</lh_syslinux_splash>
26: <lh_hostname>rcos</lh_hostname>
27: <lh_username>rcos</lh_username>
28: <lh_bootappend_live>utc=no keyb=de timezone=Europe/Berlin locale=de splash quiet xdebconf xautologin vga=0x314</lh_bootappend_live>
29: <lh_bootappend_install>utc=no keyb=de timezone=Europe/Berlin locale=de splash quiet xdebconf xautologin vga=0x314</lh_bootappend_install>
30: </binary>
31: <files>
32: <chroot>
33:
34: <sources>
35: <unixconf.binary>deb http://www.multixmedia.org/Debian lenny unixconf</unixconf.binary>
36: <unixconf.chroot>deb http://www.multixmedia.org/Debian lenny unixconf</unixconf.chroot>
37: <sxframe.binary>deb http://www.multixmedia.org/Debian lenny sxframe</sxframe.binary>
38: <sxframe.chroot>deb http://www.multixmedia.org/Debian lenny sxframe</sxframe.chroot>
39: <contrib-nonfree.binary>deb http://ftp.de.debian.org/debian/ lenny contrib non-free</contrib-nonfree.binary>
40: <contrib-nonfree.chroot>deb http://ftp.de.debian.org/debian/ lenny contrib non-free</contrib-nonfree.chroot>
41: </sources>
42:
43: <local-packageslists>
44: <common>linux-image-2.6-686 loop-aes-modules-2.6-686 lzma-modules-2.6-686 squashfs-modules-2.6-686 aufs-modules-2.6-686 hal splashy splashy-themes dbus ssh libfuse2 fusesmb rexima less unzip zip</common>
45: <unixconf>unixconf unixconf-installer unixconf-installer-debian</unixconf>
46: <x11>xdebconfigurator xorg xdebconfigurator xterm mousepad ttf-dustin</x11>
47: <x11-web>epiphany-gecko</x11-web>
48: <x11-soft>geany</x11-soft>
49: <xfce>gdm xfce4</xfce>
50: <icewm>gdm icewm thunar</icewm>
51: <lxde>gdm lxde lxde-common lxde-core lxde-settings-daemon</lxde>
52: <sxframe>sxf-mediacenter</sxframe>
53: <sxframe-dev>build-essential libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-pango-dev libsdl-sge-dev libsdl-sound1.2-dev libsdl-stretch-dev libsdl-ttf2.0-dev libsdl1.2-dev</sxframe-dev>
54: <oe-dev>build-essential bitbake</oe-dev>
55: <stm32-dev>tkdiff cvs subversion git-core git-gui openocd</stm32-dev>
56: <rcos-dev>zenity dialog ftdi-eeprom libftdi-dev libftdi1 wine mingw32 mingw32-binutils mingw32-runtime</rcos-dev>
57: <avr-dev>binutils-avr avr-libc gcc-avr uisp usbprog usbprog-gui avarice gdb-avr avrprog avrp avrdude avrdude-doc avra hexedit</avr-dev>
58: <python>python python-serial</python>
59: <tcl>tcl tk tcllib libtk-img</tcl>
60: <rx12-tools>gnuplot imagemagick</rx12-tools>
61: <audio-tools>espeak sox rezound alsamixergui xoscope</audio-tools>
62: <arduino-deps>java-common odbcinst1debian1 unixodbc openjdk-6-jre</arduino-deps>
63: </local-packageslists>
64:
65: <local-hooks>
66: <stripped><![CDATA[#!/bin/sh
67: for PACKAGE in apt-utils aptitude man-db manpages info dselect module-assistant
68: do
69: apt-get remove --purge --yes "${PACKAGE}"
70: done
71: apt-get autoremove --yes || true
72: find . -name *~ | xargs rm -f
73: rm -rf /usr/share/info/* /usr/share/lintian/* /usr/share/linda/* /var/cache/man/* /var/lib/apt/lists /var/cache/apt
74: mkdir -p /var/lib/apt/lists/partial /var/cache/apt/archives/partial
75: for FILE in $(find /var/log/ -type f)
76: do
77: echo "" > ${FILE}
78: done
79: ]]></stripped>
80:
81: <splashy><![CDATA[#!/bin/sh
82: cp -a /etc/splashy/themes/default /etc/splashy/themes/rcos-development
83: cd /etc/splashy/themes/rcos-development
84: rm -rf background.png
85: wget -O background.png http://www.rcos.eu/tools/livecd/livecd-bootsplash.png
86: sed -i 's|<current_theme>.*</current_theme>|<current_theme>rcos-development</current_theme>|g' /etc/splashy/config.xml
87: sed -i "/^vesafb.*/d" /etc/initramfs-tools/modules
88: echo "uvesafb" >> /etc/initramfs-tools/modules
89: update-initramfs -u -k all
90: test -e /usr/share/xfce4/backdrops/xfce-smoke.png && test -e background.png && cp background.png /usr/share/xfce4/backdrops/xfce-smoke.png
91: ]]></splashy>
92:
93: <eagle-install.sh><![CDATA[#!/bin/sh
94: mkdir -p /opt
95: cd /opt
96: if ! test -x /opt/eagle-5.10.0/bin/eagle
97: then
98: wget ftp://ftp.cadsoft.de/eagle/program/5.10/eagle-lin-5.10.0.run && sh eagle-lin-5.10.0.run /opt && rm -rf eagle-lin-5.10.0.run
99: fi
100: ln -sf /opt/eagle-5.10.0/bin/eagle /usr/bin/eagle
101: mkdir -p /etc/skel/Desktop
102: echo "#!/bin/sh" > /etc/skel/Desktop/Eagle
103: echo "sudo /usr/bin/eagle &" >> /etc/skel/Desktop/Eagle
104: chmod 755 /etc/skel/Desktop/Eagle
105: ]]></eagle-install.sh>
106:
107: <googleearth-installer.sh><![CDATA[#!/bin/sh
108: mkdir -p /opt
109: cd /opt
110: if ! test -x /opt/GoogleEarthLinux.bin
111: then
112: wget http://dl.google.com/earth/client/current/GoogleEarthLinux.bin
113: fi
114: echo "#!/bin/sh" > /usr/bin/google-earth
115: echo "if ! test -x /opt/google-earth/googleearth" >> /usr/bin/google-earth
116: echo "then" >> /usr/bin/google-earth
117: echo " cd /opt" >> /usr/bin/google-earth
118: echo " sh GoogleEarthLinux.bin && rm -rf GoogleEarthLinux.bin" >> /usr/bin/google-earth
119: echo "else" >> /usr/bin/google-earth
120: echo " cd /opt/google-earth" >> /usr/bin/google-earth
121: echo " /opt/google-earth/googleearth" >> /usr/bin/google-earth
122: echo "fi" >> /usr/bin/google-earth
123: chmod 755 /usr/bin/google-earth
124: mkdir -p /etc/skel/Desktop
125: echo "#!/bin/sh" > /etc/skel/Desktop/Google-Earth
126: echo "sudo xterm -e /usr/bin/google-earth &" >> /etc/skel/Desktop/Google-Earth
127: chmod 755 /etc/skel/Desktop/Google-Earth
128: ]]></googleearth-installer.sh>
129:
130: <arduino-install.sh><![CDATA[#!/bin/sh
131: mkdir -p /opt
132: cd /opt
133: if ! test -e /opt/arduino/arduino
134: then
135: wget http://arduino.googlecode.com/files/arduino-0018.tgz && tar xzvpf arduino-0018.tgz && mv arduino-0018 arduino && rm -rf arduino-0018.tgz
136: fi
137: echo "#!/bin/sh" > /usr/bin/arduino
138: echo "cd /opt/arduino" >> /usr/bin/arduino
139: echo "/opt/arduino/arduino" >> /usr/bin/arduino
140: chmod 755 /usr/bin/arduino
141: mkdir -p /etc/skel/Desktop
142: echo "#!/bin/sh" > /etc/skel/Desktop/Arduino
143: echo "cd /usr/src/" >> /etc/skel/Desktop/Arduino
144: echo "sudo /usr/bin/arduino &" >> /etc/skel/Desktop/Arduino
145: chmod 755 /etc/skel/Desktop/Arduino
146: ]]></arduino-install.sh>
147:
148: <airview-install.sh><![CDATA[#!/bin/sh
149: mkdir -p /opt
150: cd /opt
151: if ! test -e /opt/airview/airview.sh
152: then
153: wget http://www.ubnt.com/airview/download/AirView-Spectrum-Analyzer-v1.0.11.tar.gz && tar xzvpf AirView-Spectrum-Analyzer-v1.0.11.tar.gz && mv AirView-Spectrum-Analyzer-v1.0.11 airview && rm -rf AirView-Spectrum-Analyzer-v1.0.11.tar.gz
154: fi
155: echo "#!/bin/sh" > /usr/bin/airview
156: echo "cd /opt/airview" >> /usr/bin/airview
157: echo "sh ./airview.sh" >> /usr/bin/airview
158: chmod 755 /usr/bin/airview
159: mkdir -p /etc/skel/Desktop
160: echo "#!/bin/sh" > /etc/skel/Desktop/AirView
161: echo "cd /usr/src/" >> /etc/skel/Desktop/AirView
162: echo "sudo /usr/bin/airview &" >> /etc/skel/Desktop/AirView
163: chmod 755 /etc/skel/Desktop/AirView
164: ]]></airview-install.sh>
165:
166: <xfce-tips.sh><![CDATA[#!/bin/sh
167: cat << EOF > /usr/share/xfce4/tips/tips
168: rCOS-DevCon starts the Develpment-Console for the rCOS-Develpment.
169: %
170: you can found all rCOS and RCOPEN24 Source's in the '/usr/src' Directory
171: %
172: you can flash AVR, ARM and STM32 CPU's (uisp, avrdude, avrprog, meshprog, stm32loader, ...)
173: %
174: you can compile C-Programms for Linux with SDL-Support (gcc, libc, SDL, SDL_image, SDL_ttf, ..)
175: %
176: you can cross compile C-Programms for AVR, ARM and STM32 (gcc-avr, avr-libc, gcc-cortex-m3, newlib, ..)
177: %
178: you can cross compile C-Programms for Windows with SDL-Support (i586-mingw32msvc-gcc, libc, SDL, SDL_image, SDL_ttf, ..)
179: %
180: you can compile C-Programms to control the FTDI-FT232R USB-Chip (libftdi, ftdi-eeprom)
181: %
182: you can flash Meshnetics-ZigBit-Modules (meshprog)
183: %
184: you can test the rCOS-Frontend and rCOS-Backend
185: %
186: you can test your RCOPEN24-Hardware (rcopen24)
187: %
188: you can scann the 2.4Ghz-Band with your RCOPEN24-Hardware (rcopen24-scann)
189: %
190: you can scann the 35/40Mhz-Band with your ACT-Hardware (act-scann)
191: %
192: you can use a Joy-Pad to test the rCOS-Software
193: %
194: EOF
195: strfile /usr/share/xfce4/tips/tips /usr/share/xfce4/tips/tips.dat
196: ]]></xfce-tips.sh>
197:
198: <rcos-dev.sh><![CDATA[#!/bin/sh
199: chmod 777 -R /usr/src
200: cd /usr/src
201: wget -O rcos.tgz "http://www.rcos.eu/sources.tgz"
202: tar xzpf rcos.tgz
203: chmod 777 -R ./rcos/
204: cp -a ./rcos/winlibs/includes/* /usr/i586-mingw32msvc/include/
205: cp -a ./rcos/winlibs/*.dll ./rcos/winlibs/*.a /usr/i586-mingw32msvc/lib/
206: cp -a ./rcos/winlibs/*.dll ./rcos/src/
207: wget -O /usr/bin/rcos-frontend "http://www.rcos.eu/targets/pc-frontend/pc-frontend"
208: chmod 755 -R /usr/bin/rcos-frontend
209: mkdir -p /etc/skel/Desktop
210: echo "#!/bin/sh" > /etc/skel/Desktop/rCOS-DevCon
211: echo "export PATH=\"\$PATH:/usr/arm-elf-cortex-m3/bin\"" >> /etc/skel/Desktop/rCOS-DevCon
212: echo "cd /usr/src/" >> /etc/skel/Desktop/rCOS-DevCon
213: echo "sudo xterm &" >> /etc/skel/Desktop/rCOS-DevCon
214: chmod 755 /etc/skel/Desktop/rCOS-DevCon
215: echo "#!/bin/sh" > /etc/skel/Desktop/rCOS-Frontend
216: echo "cd /usr/src/rcos/src/ ; rcos-frontend" >> /etc/skel/Desktop/rCOS-Frontend
217: chmod 755 /etc/skel/Desktop/rCOS-Frontend
218: ]]></rcos-dev.sh>
219:
220: <stm32-dev.sh><![CDATA[#!/bin/sh
221: chmod 777 -R /usr/src
222: cd /usr/src
223: wget "http://www.rcos.eu/tools/cortex-m3-toolchain_0.1.deb"
224: dpkg -i cortex-m3-toolchain_0.1.deb ; rm -rf cortex-m3-toolchain_0.1.deb
225: apt-get install -f -y
226: echo "export PATH=\"\$PATH:/usr/arm-elf-cortex-m3/bin\"" >> /etc/profile
227: echo "export PATH=\"\$PATH:/usr/arm-elf-cortex-m3/bin\"" >> /root/.bashrc
228: echo "export PATH=\"\$PATH:/usr/arm-elf-cortex-m3/bin\"" >> /etc/skel/.bashrc
229: cd /usr/src
230: wget "http://www.rcos.eu/tools/stm32loader/stm32loader"
231: mv stm32loader /usr/bin/stm32loader
232: chmod 755 /usr/bin/stm32loader
233: ]]></stm32-dev.sh>
234:
235: <meshprog.sh><![CDATA[#!/bin/sh
236: wget -O /usr/bin/meshprog "http://www.rcopen24.org/tools/meshprog/meshprog"
237: chmod 755 -R /usr/bin/meshprog
238: ]]></meshprog.sh>
239:
240: <rcopen24-dev.sh><![CDATA[#!/bin/sh
241: cd /usr/src
242: wget -O rcopen24.tgz "http://www.rcopen24.org/sources.tgz"
243: tar xzpf rcopen24.tgz
244: chmod 777 -R ./rcopen24/
245: ]]></rcopen24-dev.sh>
246:
247: <avrspeak-dev.sh><![CDATA[#!/bin/sh
248: cd /usr/src
249: wget -O avrspeak.tgz "http://avrspeak.rcos.eu/sources.tgz"
250: tar xzpf avrspeak.tgz
251: chmod 777 -R ./avrspeak/
252: ]]></avrspeak-dev.sh>
253:
254: <bksave-dev.sh><![CDATA[#!/bin/sh
255: cd /usr/src
256: wget -O bksave.tgz "http://bksave.rcos.eu/sources.tgz"
257: tar xzpf bksave.tgz
258: chmod 777 -R ./bksave/
259: ]]></bksave-dev.sh>
260:
261: <rx12-avr-dev.sh><![CDATA[#!/bin/sh
262: cd /usr/src
263: wget -O rx12.tgz "http://rx12-avr.rcos.eu/sources.tgz"
264: tar xzpf rx12.tgz
265: chmod 777 -R ./rx12/
266: ]]></rx12-avr-dev.sh>
267:
268: <oe-dev.sh><![CDATA[#!/bin/sh
269: # echo "##### Gumstix-OE #####"
270: # USER_NAME="oe"
271: # HOME_DIRECTORY="/home/$USER_NAME"
272: # useradd -u 10001 -m -k /etc/skel -s /bin/bash -d "$HOME_DIRECTORY" "$USER_NAME"
273: # echo "$USER_NAME:$USER_NAME" | chpasswd
274: # mkdir -p "$HOME_DIRECTORY"
275: # cd "$HOME_DIRECTORY"
276: # wget "http://oliver.multixmedia.org/modellbau/elektronik/RC-Sender/gumstix-oe.tgz"
277: # tar xzpf gumstix-oe.tgz ; rm gumstix-oe.tgz
278: # chmod -R $USER_NAME:$USER_NAME "$HOME_DIRECTORY"
279: # mkdir /usr/share/sources
280: # chown $USER_NAME:$USER_NAME /usr/share/sources
281: # chmod 0775 /usr/share/sources
282: # chmod ug+s /usr/share/sources
283: # echo ". ~/gumstix/gumstix-oe/extras/profile" >> /etc/profile
284: ]]></oe-dev.sh>
285:
286: <init.sh><![CDATA[#!/bin/sh
287: echo snd-mixer-oss >> /etc/modules
288: echo snd-pcm-oss >> /etc/modules
289: splashy_config -s debian-cubism
290: mkdir -p /etc/
291: cat << EOF > /etc/rc.local
292: test -e /usr/bin/fusesmb && (
293: mkdir -p /media/Samba
294: modprobe fuse
295: /usr/bin/fusesmb /media/Samba
296: ) &
297: test -x /usr/bin/rexima && /usr/bin/rexima vol 20 video 90 pcm 90 cd 90 line 90 mic 0 2> /dev/null > /dev/null &
298: exit 0
299: EOF
300: chmod 755 /etc/rc.local
301: ]]></init.sh>
302:
303: </local-hooks>
304: </chroot>
305: <binary>
306: <local-hooks>
307: <qemu.sh><![CDATA[#!/bin/sh
308: cd binary
309: wget http://www.klabs.be/~fpiat/projects/autorun4linuxCD/autorun4linuxCD.tar.gz
310: tar xfz autorun4linuxCD.tar.gz
311: mv autorun4linuxCD/* .
312: rm -f autorun4linuxCD.tar.gz
313: rm -rf autorun4linuxCD
314: cd "${OLDPWD}"
315: ]]></qemu.sh>
316: <rcos-x86.sh><![CDATA[#!/bin/sh
317: wget -O binary/live/rcos.c32 http://www.rcos.eu/tools/livecd/rcos.c32
318: wget -O binary/isolinux/menu.cfg http://www.rcos.eu/tools/livecd/bootmenu.cfg
319: ]]></rcos-x86.sh>
320: </local-hooks>
321: </binary>
322: </files>
323: </live_helper>