From 1717e6a86fa7e4b7cad9d293a46dee23d38c6f04 Mon Sep 17 00:00:00 2001 From: Michael 'Mickey' Lauer Date: Fri, 9 Jan 2009 00:19:22 +0100 Subject: sane-srcrevs.inc: bump frameworkd frameworkd: write git version into installation --- packages/freesmartphone/frameworkd_git.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'packages') diff --git a/packages/freesmartphone/frameworkd_git.bb b/packages/freesmartphone/frameworkd_git.bb index e21f150f5b..de630baded 100644 --- a/packages/freesmartphone/frameworkd_git.bb +++ b/packages/freesmartphone/frameworkd_git.bb @@ -17,6 +17,10 @@ SRC_URI = "${FREESMARTPHONE_GIT}/framework.git;protocol=git;branch=master \ file://frameworkd.conf" S = "${WORKDIR}/git" +do_configure_append() { + echo "version=\"${PV}\"" >framework/__version__.py +} + do_install_append() { install -d ${D}${sysconfdir}/init.d/ install -m 0755 ${WORKDIR}/frameworkd ${D}${sysconfdir}/init.d/ -- cgit v1.2.3