diff options
author | M. Dietrich <mdt@emdete.de> | 2008-12-12 13:31:06 +0100 |
---|---|---|
committer | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2008-12-14 15:09:32 +0100 |
commit | bcdc4bd853c6d355b7d9675328dcc57524cb84a0 (patch) | |
tree | 01e18c0199843a65959fb88bc9f86f0afb5dafbb | |
parent | adbb71a67194fdf085725270e7e8dacddc840125 (diff) |
epydial-image: incorporate fso-image changes
zad-image: incorporate fso-image changes
-rw-r--r-- | packages/images/epydial-image.bb | 96 | ||||
-rw-r--r-- | packages/images/zad-image.bb | 118 |
2 files changed, 156 insertions, 58 deletions
diff --git a/packages/images/epydial-image.bb b/packages/images/epydial-image.bb index 590aaf941f..2186fa55d1 100644 --- a/packages/images/epydial-image.bb +++ b/packages/images/epydial-image.bb @@ -1,40 +1,78 @@ -#------------------------------------------------------ -# Moko Underground OS Image Recipe -#------------------------------------------------------ +# pyneo image recipe -IMAGE_LINGUAS = "" +IMAGE_LINGUAS = "\ +" + +# base system +BASE_INSTALL = "\ + ${MACHINE_TASK_PROVIDER}\ + netbase\ + sysfsutils\ + module-init-tools-depmod\ + rsync\ + screen\ + fbset\ + fbset-modes\ +" -ADD_INSTALL = "\ - fontconfig-utils \ - \ - ttf-dejavu-common \ - ttf-dejavu-sans \ - ttf-dejavu-serif \ - \ -" +# getting an X window system up +X_INSTALL = "\ + e-wm \ + ${XSERVER}\ + xserver-kdrive-common\ + xserver-nodm-init\ + xauth\ + xhost\ + xset\ + xrandr\ + fontconfig-utils\ + ttf-dejavu-common\ + ttf-dejavu-sans\ + ttf-dejavu-serif\ +" +# useful command line tools TOOLS_INSTALL = "\ - nano \ - powertop \ - htop \ + dosfstools\ + iptables\ + lsof\ + mtd-utils\ + s3c24xx-gpio\ + sysstat\ " +# media audio/video +MEDIA_INSTALL = "\ + alsa-oss\ + alsa-state\ + alsa-utils-aplay\ + alsa-utils-amixer\ + gst-meta-audio\ + gst-plugin-mad\ + gst-plugin-modplug\ + gst-plugin-sid\ + openmoko-alsa-scenarios\ + mplayer\ +" + +# summary IMAGE_INSTALL = "\ - ${MACHINE_TASK_PROVIDER} \ - netbase \ - sysfsutils \ - module-init-tools-depmod \ - rsync \ - screen \ - fbset \ - fbset-modes \ - \ - task-pyneo \ - \ - ${ADD_INSTALL} \ - ${TOOLS_INSTALL} \ + ${BASE_INSTALL}\ + ${X_INSTALL}\ + ${MEDIA_INSTALL}\ + ${TOOLS_INSTALL}\ + exquisite\ + pyneod\ + epydial\ + illume \ " inherit image -ROOTFS_POSTPROCESS_COMMAND += 'date "+%m%d%H%M%Y" >${IMAGE_ROOTFS}/etc/timestamp' +# perform some patches to the rootfs +rootfs_postprocess() { + # image timastamp + date "+%m%d%H%M%Y" > ${IMAGE_ROOTFS}/etc/timestamp +} + +ROOTFS_POSTPROCESS_COMMAND += "rootfs_postprocess" diff --git a/packages/images/zad-image.bb b/packages/images/zad-image.bb index 590aaf941f..4de50cc8cb 100644 --- a/packages/images/zad-image.bb +++ b/packages/images/zad-image.bb @@ -1,40 +1,100 @@ -#------------------------------------------------------ -# Moko Underground OS Image Recipe -#------------------------------------------------------ +# pyneo image recipe -IMAGE_LINGUAS = "" +IMAGE_LINGUAS = "\ +" -ADD_INSTALL = "\ - fontconfig-utils \ - \ - ttf-dejavu-common \ - ttf-dejavu-sans \ - ttf-dejavu-serif \ - \ -" +# base system +BASE_INSTALL = "\ + ${MACHINE_TASK_PROVIDER}\ + netbase\ + sysfsutils\ + module-init-tools-depmod\ + rsync\ + screen\ + fbset\ + fbset-modes\ +" +# getting an X window system up +X_INSTALL = "\ + ${XSERVER}\ + xserver-kdrive-common\ + xserver-nodm-init\ + xauth\ + xhost\ + xset\ + xrandr\ + fontconfig-utils\ + ttf-dejavu-common\ + ttf-dejavu-sans\ + ttf-dejavu-serif\ +" + +# useful command line tools TOOLS_INSTALL = "\ - nano \ - powertop \ - htop \ + dosfstools\ + iptables\ + lsof\ + mtd-utils\ + s3c24xx-gpio\ + sysstat\ " +# media audio/video +MEDIA_INSTALL = "\ + alsa-oss\ + alsa-state\ + alsa-utils-aplay\ + alsa-utils-amixer\ + gst-meta-audio\ + gst-plugin-mad\ + gst-plugin-modplug\ + gst-plugin-sid\ + openmoko-alsa-scenarios\ + mplayer\ +" + +GAMES_INSTALL = "\ + numptyphysics\ + scummvm\ + tichy\ + quake1\ +" + +# summary IMAGE_INSTALL = "\ - ${MACHINE_TASK_PROVIDER} \ - netbase \ - sysfsutils \ - module-init-tools-depmod \ - rsync \ - screen \ - fbset \ - fbset-modes \ - \ - task-pyneo \ - \ - ${ADD_INSTALL} \ - ${TOOLS_INSTALL} \ + ${BASE_INSTALL}\ + ${X_INSTALL}\ + ${MEDIA_INSTALL}\ + ${GAMES_INSTALL}\ + ${TOOLS_INSTALL}\ + pyneod\ + zad\ " inherit image -ROOTFS_POSTPROCESS_COMMAND += 'date "+%m%d%H%M%Y" >${IMAGE_ROOTFS}/etc/timestamp' +# perform some patches to the rootfs +rootfs_postprocess() { + # image timastamp + date "+%m%d%H%M%Y" > ${IMAGE_ROOTFS}/etc/timestamp + # aliases + touch ${IMAGE_ROOTFS}/etc/profile + echo alias 'l="ls -l"' >> ${IMAGE_ROOTFS}/etc/profile + echo alias 'll="ls -la"' >> ${IMAGE_ROOTFS}/etc/profile + echo alias 'ipkg=opkg' >> ${IMAGE_ROOTFS}/etc/profile + # nfs + mkdir -p ${IMAGE_ROOTFS}/media/hostpc + echo >> ${IMAGE_ROOTFS}/etc/fstab + echo "# nfs to hostpc" >> ${IMAGE_ROOTFS}/etc/fstab + echo "hostpc:/media/hostpc /media/hostpc nfs noauto,nolock,soft,rsize=32768,wsize=32768 0 0" >> ${IMAGE_ROOTFS}/etc/fstab + # screen + echo "startup_message off" >> ${IMAGE_ROOTFS}/home/root/.screenrc + # keys + ln -s /media/card/keys/ssh ${IMAGE_ROOTFS}/home/root/.ssh + # bootup + echo 'echo 0 0 0 0 > /proc/sys/kernel/printk' >> ${IMAGE_ROOTFS}/etc/init.d/rc + echo 'touch /var/log/lastlog' >> ${IMAGE_ROOTFS}/etc/init.d/rc +} + +ROOTFS_POSTPROCESS_COMMAND += "rootfs_postprocess" |