add fso-image-light, removing tools and audio (for now)
authorMichael Lauer <mickey@vanille-media.de>
Sat, 7 Jun 2008 18:32:07 +0000 (18:32 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Sat, 7 Jun 2008 18:32:07 +0000 (18:32 +0000)
packages/images/fso-image-light.bb [new file with mode: 0644]

diff --git a/packages/images/fso-image-light.bb b/packages/images/fso-image-light.bb
new file mode 100644 (file)
index 0000000..921c636
--- /dev/null
@@ -0,0 +1,32 @@
+#------------------------------------------------------
+# freesmartphone.org Image Recipe, Light Edition
+#------------------------------------------------------
+
+require fso-image.bb
+
+IMAGE_LINGUAS = ""
+
+IMAGE_INSTALL = "\
+  ${BASE_INSTALL} \
+  ${X_INSTALL} \
+  ${PYTHON_INSTALL} \
+  ${ZHONE_INSTALL} \
+"
+
+inherit image
+
+# perform some convenience tweaks to the rootfs
+mickey_rootfs_postprocess() {
+    curdir=$PWD
+    cd ${IMAGE_ROOTFS}
+    date "+%m%d%H%M%Y" >./etc/timestamp
+    echo "alias pico=nano" >>./etc/profile
+    echo "alias fso='cd /local/pkg/fso'" >>./etc/profile
+    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
+    cd $curdir
+}
+
+ROOTFS_POSTPROCESS_COMMAND += "mickey_rootfs_postprocess"