vairous: add in local updates for tasks/images.
[openpandora.oe.git] / recipes / images / pandora-gnome-image.bb
1 # Gnome image for 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-gnome-image"
16
17 #IMAGE_INIT_MANAGER = "upstart upstart-sysvcompat"
18 IMAGE_LOGIN_MANAGER = "shadow"
19
20 SPLASH = "psplash-omap3pandora"
21
22 DEPENDS = "task-base"
23
24 IMAGE_INSTALL += " \
25   task-pandora-core \
26   task-pandora-gnome \
27   ${SPLASH} \
28  "
29
30 IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp"
31
32 # Helper to say what image we built, include GIT tag and image name.
33 PANDORA_VERSION_FILE = "${IMAGE_ROOTFS}/${sysconfdir}/op-version"
34 ROOTFS_POSTPROCESS_COMMAND += "OLD_PWD=$PWD; cd `dirname '${FILE_DIRNAME}'`; echo Tag Name: `git tag|tail -n 1`> ${PANDORA_VERSION_FILE};cd $OLD_PWD;"
35 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;"
36 ROOTFS_POSTPROCESS_COMMAND += "OLD_PWD=$PWD; cd `dirname '${FILE_DIRNAME}'`; echo Branch: ` git branch |awk '/*/{print $2}'` >> ${PANDORA_VERSION_FILE}; cd $OLD_PWD;"
37 ROOTFS_POSTPROCESS_COMMAND += "echo Image Builder: '${LOGNAME}'@`cat /etc/hostname` >> ${PANDORA_VERSION_FILE};"
38 ROOTFS_POSTPROCESS_COMMAND += "echo Time Stamp: `date -R` >> ${PANDORA_VERSION_FILE};"
39 ROOTFS_POSTPROCESS_COMMAND += "echo Base Image Name: '${IMAGE_BASENAME}' >> ${PANDORA_VERSION_FILE};"