xfce: Add XFCE (4.6.1) based image (WIP!)
[openpandora.oe.git] / recipes / images / pandora-gui-image.bb
1 # Matchbox/GPE image for the Pandora handheld console
2
3 XSERVER ?= " \
4     xserver-xorg \
5     xf86-input-evdev \
6     xf86-input-mouse \
7     xf86-video-fbdev \
8     xf86-input-keyboard \
9 "
10
11 IMAGE_LINGUAS = "de-de fr-fr en-gb en-us pt-br es-es kn-in ml-in ta-in"
12
13 inherit image
14
15 export IMAGE_BASENAME = "pandora-gui-image"
16
17 SPLASH = "psplash-omap3pandora"
18
19 DEPENDS = "task-base"
20
21 IMAGE_INSTALL += " \
22     task-pandora-gui \
23     ${SPLASH} \ 
24 "
25
26 IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp"
27
28 #zap root password for release images
29 #ROOTFS_POSTPROCESS_COMMAND += '${@base_conditional("DISTRO_TYPE", "release", "zap_root_password; ", "",d)}'
30
31 # Helper to say what image we built, include GIT tag and image name.
32 PANDORA_VERSION_FILE = "${IMAGE_ROOTFS}/${sysconfdir}/op-version"
33 ROOTFS_POSTPROCESS_COMMAND += "OLD_PWD=$PWD; cd `dirname '${FILE_DIRNAME}'`; echo Tag Name: `git tag|tail -n 1`> ${PANDORA_VERSION_FILE};cd $OLD_PWD;"
34 ROOTFS_POSTPROCESS_COMMAND += "OLD_PWD=$PWD; cd `dirname '${FILE_DIRNAME}'`; echo VERSION: `git-log -n1 --pretty=oneline|awk '{print $1}'` >> ${PANDORA_VERSION_FILE}; cd $OLD_PWD;"
35 ROOTFS_POSTPROCESS_COMMAND += "OLD_PWD=$PWD; cd `dirname '${FILE_DIRNAME}'`; echo Branch: ` git branch |awk '/*/{print $2}'` >> ${PANDORA_VERSION_FILE}; cd $OLD_PWD;"
36 ROOTFS_POSTPROCESS_COMMAND += "echo Image Builder: '${LOGNAME}'@`cat /etc/hostname` >> ${PANDORA_VERSION_FILE};"
37 ROOTFS_POSTPROCESS_COMMAND += "echo Time Stamp: `date -R` >> ${PANDORA_VERSION_FILE};"
38 ROOTFS_POSTPROCESS_COMMAND += "echo Base Image Name: '${IMAGE_BASENAME}' >> ${PANDORA_VERSION_FILE};"