summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-06-07 18:32:46 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-06-07 18:32:46 +0000
commitdc5badca3d35f936648529a0c22b1ff4d6a86477 (patch)
treefe0c7951d375764268711e3078078309fdf997bc
parent2761dafea2e12e21f66962e39aa91cca781ad12f (diff)
parenteb6aa209e58ba83571bcd1ed01cad7b171d38ba2 (diff)
merge of '2a5739a1dc2a54f1b7807bfd6e053e5b953b6d02'
and '82ea7fb33a9e64c710458f33fd0c1649c08f7e01'
-rw-r--r--packages/images/fso-image-light.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/packages/images/fso-image-light.bb b/packages/images/fso-image-light.bb
new file mode 100644
index 0000000000..921c636b12
--- /dev/null
+++ b/packages/images/fso-image-light.bb
@@ -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"