vairous: Reset PR's to 1 on the overlay recipies as TMP needs rebuilding anyway.
[openpandora.oe.git] / recipes / images / pandora-core-image.bb
1 # Console 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 inherit image
6
7 export IMAGE_BASENAME = "pandora-core-image"
8
9 SPLASH = "psplash-omap3pandora"
10
11 DEPENDS = "task-base"
12
13 IMAGE_INSTALL += " \
14     task-pandora-core \
15     ${SPLASH} \ 
16 "
17
18 IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp"
19
20 #Dont use on core images as you have no GUI to let you set a root password ;).
21 #zap root password for release images
22 #ROOTFS_POSTPROCESS_COMMAND += '${@base_conditional("DISTRO_TYPE", "release", "zap_root_password; ", "",d)}'
23
24 # Helper to say what image we built, include GIT tag and image name.
25 PANDORA_VERSION_FILE = "${IMAGE_ROOTFS}/${sysconfdir}/op-version"
26 ROOTFS_POSTPROCESS_COMMAND += "OLD_PWD=$PWD; cd `dirname '${FILE_DIRNAME}'`; echo Tag Name: `git tag|tail -n 1`> ${PANDORA_VERSION_FILE};cd $OLD_PWD;"
27 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;"
28 ROOTFS_POSTPROCESS_COMMAND += "OLD_PWD=$PWD; cd `dirname '${FILE_DIRNAME}'`; echo Branch: ` git branch |awk '/*/{print $2}'` >> ${PANDORA_VERSION_FILE}; cd $OLD_PWD;"
29 ROOTFS_POSTPROCESS_COMMAND += "echo Image Builder: '${LOGNAME}'@`cat /etc/hostname` >> ${PANDORA_VERSION_FILE};"
30 ROOTFS_POSTPROCESS_COMMAND += "echo Time Stamp: `date -R` >> ${PANDORA_VERSION_FILE};"
31 ROOTFS_POSTPROCESS_COMMAND += "echo Base Image Name: '${IMAGE_BASENAME}' >> ${PANDORA_VERSION_FILE};"