8b1e8a33d22e1f0f44625efef2adbe941adbe066
[openpandora.oe.git] / recipes / images / pandora-xfce-image.bb
1 # XFCE image for the Pandora handheld console
2
3 IMAGE_LINGUAS = "de-de fr-fr en-gb en-us es-es"
4
5 #IMAGE_LOGIN_MANAGER = "shadow"
6
7 inherit image
8
9 PR = "r7"
10
11 export IMAGE_BASENAME = "pandora-xfce-image"
12
13 SPLASH = "psplash-omap3pandora"
14
15 DEPENDS = "task-base"
16
17 IMAGE_INSTALL += " \
18     task-pandora-core \
19     task-pandora-xfce \
20     ${SPLASH} \ 
21 "
22
23 IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp"
24
25 # Helper to say what image we built, include GIT tag and image name.
26 PANDORA_VERSION_FILE = "${IMAGE_ROOTFS}/${sysconfdir}/op-version"
27 ROOTFS_POSTPROCESS_COMMAND += "OLD_PWD=$PWD; cd `dirname '${FILE_DIRNAME}'`; echo Tag Name: `git tag|tail -n 1`> ${PANDORA_VERSION_FILE};cd $OLD_PWD;"
28 ROOTFS_POSTPROCESS_COMMAND += "OLD_PWD=$PWD; cd `dirname '${FILE_DIRNAME}'`; echo GIT-VERSION: `git log -n1 --pretty=oneline|awk '{print $1}'` >> ${PANDORA_VERSION_FILE}; cd $OLD_PWD;"
29 ROOTFS_POSTPROCESS_COMMAND += "OLD_PWD=$PWD; cd `dirname '${FILE_DIRNAME}'`; echo Branch: ` git branch |awk '/*/{print $2}'` >> ${PANDORA_VERSION_FILE}; cd $OLD_PWD;"
30 ROOTFS_POSTPROCESS_COMMAND += "echo Version: 1.6.0.4 (R1 Codename Zaxxon, Hotfix 6, Alpha 4) >> ${PANDORA_VERSION_FILE};"
31 ROOTFS_POSTPROCESS_COMMAND += "echo Image Builder: '${LOGNAME}'@`cat /etc/hostname` >> ${PANDORA_VERSION_FILE};"
32 ROOTFS_POSTPROCESS_COMMAND += "echo Time Stamp: `date -R` >> ${PANDORA_VERSION_FILE};"
33 ROOTFS_POSTPROCESS_COMMAND += "echo Base Image Name: '${IMAGE_BASENAME}' >> ${PANDORA_VERSION_FILE};"