pandora-xfce-image.bb: Updated to Hotfix 7 Alpha 3
[openpandora.oe.git] / recipes / images / pandora-validation-image.bb
1 # Validation image for Pandora handheld console
2 # for hardware testing and flashing images to NAND if copied to the SD in the correct places.
3
4 inherit image
5
6 PR = "r0"
7
8 export IMAGE_BASENAME = "pandora-validation-image"
9
10 DEPENDS = "task-base"
11
12 IMAGE_INSTALL += " \
13   task-pandora-core \
14   task-pandora-validation \
15 "
16  
17 IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp"
18
19 # Helper to say what image we built, include GIT tag and image name.
20 PANDORA_VERSION_FILE = "${IMAGE_ROOTFS}/${sysconfdir}/op-version"
21 ROOTFS_POSTPROCESS_COMMAND += "OLD_PWD=$PWD; cd `dirname '${FILE_DIRNAME}'`; echo Tag Name: `git tag|tail -n 1`> ${PANDORA_VERSION_FILE};cd $OLD_PWD;"
22 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;"
23 ROOTFS_POSTPROCESS_COMMAND += "OLD_PWD=$PWD; cd `dirname '${FILE_DIRNAME}'`; echo Branch: ` git branch |awk '/*/{print $2}'` >> ${PANDORA_VERSION_FILE}; cd $OLD_PWD;"
24 ROOTFS_POSTPROCESS_COMMAND += "echo Image Builder: '${LOGNAME}'@`cat /etc/hostname` >> ${PANDORA_VERSION_FILE};"
25 ROOTFS_POSTPROCESS_COMMAND += "echo Time Stamp: `date -R` >> ${PANDORA_VERSION_FILE};"
26 ROOTFS_POSTPROCESS_COMMAND += "echo Base Image Name: '${IMAGE_BASENAME}' >> ${PANDORA_VERSION_FILE};"