summaryrefslogtreecommitdiff
path: root/packages/images/fso-image.bb
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-07-27 16:44:25 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-07-27 16:44:25 +0000
commitf1cbcd1fe10ec15ffc4ace0e180c35d969058be4 (patch)
tree185df8512f057e6a16aa2e31332082cf2e1adaee /packages/images/fso-image.bb
parent5813fca142ff995ed4e5c1c0e6d1d5f007fa7591 (diff)
fso-image: install some gtk programs and fix their .desktop files to appear in the illume launcher
Diffstat (limited to 'packages/images/fso-image.bb')
-rw-r--r--packages/images/fso-image.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/images/fso-image.bb b/packages/images/fso-image.bb
index 8c9d56adbc..f1b9104b87 100644
--- a/packages/images/fso-image.bb
+++ b/packages/images/fso-image.bb
@@ -64,6 +64,13 @@ AUDIO_INSTALL = "\
fso-sounds \
"
+GTK_INSTALL = "\
+ openmoko-calculator2 \
+ openmoko-terminal2 \
+ gpe-scap \
+ tangogps \
+"
+
# FIXME these should rather be part of alsa-state,
# once Om stabilizes them...
AUDIO_INSTALL_append_om-gta01 = "\
@@ -90,6 +97,7 @@ ZHONE_INSTALL = "\
IMAGE_INSTALL = "\
${BASE_INSTALL} \
${X_INSTALL} \
+ ${GTK_INSTALL} \
${AUDIO_INSTALL} \
${TOOLS_INSTALL} \
${PYTHON_INSTALL} \
@@ -102,14 +110,25 @@ inherit image
fso_rootfs_postprocess() {
curdir=$PWD
cd ${IMAGE_ROOTFS}
+ # date/time
date "+%m%d%H%M%Y" >./etc/timestamp
+ # alias foo
echo "alias pico=nano" >>./etc/profile
echo "alias fso='cd /local/pkg/fso'" >>./etc/profile
echo "alias ipkg='opkg'" >>./etc/profile
+ # nfs
mkdir -p ./local/pkg
echo >>./etc/fstab
echo "# NFS Host" >>./etc/fstab
echo "192.168.0.200:/local/pkg /local/pkg nfs noauto,nolock,soft,rsize=32768,wsize=32768 0 0" >>./etc/fstab
+ # fix .desktop files for illume
+ desktop=`find ./usr/share/applications -name "*.desktop"`
+ for file in $desktop; do
+ echo "Categories=Office;" >>$file
+ done
+ # minimal gtk theme foo
+ mkdir -p ./etc/gtk-2.0/
+ echo 'gtk-font-name = "Sans 5"' >> ./etc/gtk-2.0/gtkrc
cd $curdir
}