1 #------------------------------------------------------
2 # freesmartphone.org Image Recipe
3 #------------------------------------------------------
15 ILLUME_THEME = "illume-theme-freesmartphone"
19 task-fonts-truetype-core \
22 X_INSTALL_append_om-gta02 = "\
23 task-fonts-truetype-chinese \
24 task-fonts-truetype-japanese \
30 task-cli-tools-python \
42 ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'gst-plugin-mad', d)} \
49 openmoko-calculator2 \
59 # FIXME these should rather be part of alsa-state,
60 # once Om stabilizes them...
61 AUDIO_INSTALL_append_om-gta01 = "\
62 openmoko-alsa-scenarios \
64 AUDIO_INSTALL_append_om-gta02 = "\
65 openmoko-alsa-scenarios \
87 ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'vagalume', d)} \
105 # perform some convenience tweaks to the rootfs to improve the out-of-the-box experience :M:
106 fso_rootfs_postprocess() {
110 date "+%m%d%H%M%Y" >./etc/timestamp
112 echo "alias pico=nano" >>./etc/profile
113 echo "alias fso='cd /local/pkg/fso'" >>./etc/profile
114 echo "alias ipkg='opkg'" >>./etc/profile
115 echo "alias vim=vi" >>./etc/profile
116 echo "alias ll='ls -al'" >>./etc/profile
120 echo "# NFS Host" >>./etc/fstab
121 echo "192.168.0.200:/local/pkg /local/pkg nfs noauto,nolock,soft,rsize=32768,wsize=32768 0 0" >>./etc/fstab
122 # fix .desktop files for illume
123 desktop=`find ./usr/share/applications -name "*.desktop"`
124 for file in $desktop; do
125 echo "Categories=Office;" >>$file
127 # minimal gtk theme foo
128 mkdir -p ./etc/gtk-2.0/
129 echo 'gtk-font-name = "Sans 5"' >> ./etc/gtk-2.0/gtkrc
130 echo 'gtk-icon-theme-name = "Tango"' >> ./etc/gtk-2.0/gtkrc
131 # fix strange iconv/gconf bug
132 ln -s libc.so.6 ./lib/libc.so
133 # set sensible default DNS entries
134 echo "nameserver 208.67.222.222" > ./etc/resolv.conf
135 echo "nameserver 208.67.220.220" >> ./etc/resolv.conf
136 # remove autostart of gspd (if installed), we have fso-gpsd and this conflicts
137 rm -f ./etc/init.d/gpsd
139 mkdir -p ./etc/profile.d/
140 echo "echo 0 0 0 0 >/proc/sys/kernel/printk" >./etc/profile.d/printk.sh
141 chmod a+rx ./etc/profile.d/printk.sh
146 ROOTFS_POSTPROCESS_COMMAND += "fso_rootfs_postprocess"