diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2010-04-29 09:37:03 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2010-04-30 10:06:21 +0200 |
commit | a003dba3b4cc7ffb175c951bf1422cc7332d35ea (patch) | |
tree | 117d4d31b1962f79b716af8f1fef313a2453ac49 /conf/distro/shr.conf | |
parent | 7f934c85b0bc4b9bf9760b369b9874584c3519fb (diff) |
shr: add shr-version recipe and drop its generation from ROOTFS_POSTPROCESS_COMMAND
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'conf/distro/shr.conf')
-rw-r--r-- | conf/distro/shr.conf | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/conf/distro/shr.conf b/conf/distro/shr.conf index 7edc6af465..9f7a9a4948 100644 --- a/conf/distro/shr.conf +++ b/conf/distro/shr.conf @@ -78,17 +78,6 @@ PACKAGE_ARCH_pn-keymaps_om-gta02 = "armv4t" PACKAGE_ARCH_pn-neod_om-gta01 = "armv4t" PACKAGE_ARCH_pn-neod_om-gta02 = "armv4t" -# Helper to say what image we built -SHR_VERSION_FILE = "${IMAGE_ROOTFS}/${sysconfdir}/shr-version" -ROOTFS_POSTPROCESS_COMMAND += "OLD_PWD=$PWD; cd `dirname '${FILE_DIRNAME}'`; echo Tag Name: `git tag|tail -n 1`> ${SHR_VERSION_FILE};cd $OLD_PWD;" -ROOTFS_POSTPROCESS_COMMAND += "OLD_PWD=$PWD; cd `dirname '${FILE_DIRNAME}'`; echo VERSION: `git-log -n1 --pretty=oneline|awk '{print $1}'` >> ${SHR_VERSION_FILE}; cd $OLD_PWD;" -ROOTFS_POSTPROCESS_COMMAND += "OLD_PWD=$PWD; cd `dirname '${FILE_DIRNAME}'`; echo Branch: ` git branch |awk '/*/{print $2}'` >> ${SHR_VERSION_FILE}; cd $OLD_PWD;" -ROOTFS_POSTPROCESS_COMMAND += "echo Build Host: `cat /etc/hostname` >> ${SHR_VERSION_FILE};" -ROOTFS_POSTPROCESS_COMMAND += "echo Time Stamp: `date -R` >> ${SHR_VERSION_FILE};" - -#Package customization -EXTRA_OECONF-pn_qemu += " --target-list=arm-linux-user,arm-softmmu" - #Illume settings ILLUME_CONFIG = "e-wm-config-illume-shr" ILLUME_THEME = "e-wm-theme-illume-gry" @@ -194,6 +183,7 @@ DISTRO_EXTRA_APPS += '${@base_conditional("DISTRO_TYPE", "release", "", "task-cl # util-linux-ng-mount util-linux-ng-umount: busybox mount is broken # angstrom-libc-fixup-hack: fixes an obscure bug with libc.so symlink DISTRO_EXTRA_RDEPENDS += "\ + shr-version \ distro-feed-configs \ util-linux-ng-mount util-linux-ng-umount \ angstrom-libc-fixup-hack \ |