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