[oe-commits] Klaus Kurzmann : callrec: fix postinst script and bump PV
git version control
git at git.openembedded.org
Sat Aug 8 20:11:35 UTC 2009
Module: openembedded.git
Branch: shr/import
Commit: 6088ddf9dd75221d689d3560431c843209d22964
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=6088ddf9dd75221d689d3560431c843209d22964
Author: Klaus Kurzmann <mok at fluxnetz.de>
Date: Sat Aug 8 22:11:29 2009 +0200
callrec: fix postinst script and bump PV
Signed-off-by: Klaus Kurzmann <mok at fluxnetz.de>
---
recipes/callrec/callrec_svn.bb | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/recipes/callrec/callrec_svn.bb b/recipes/callrec/callrec_svn.bb
index 921423e..3e0c580 100644
--- a/recipes/callrec/callrec_svn.bb
+++ b/recipes/callrec/callrec_svn.bb
@@ -5,7 +5,7 @@ LICENSE = "GPLv3 or later"
SRCNAME = "callrec"
DEPENDS = "gtk+"
RDEPENDS += "alsa-utils-alsactl alsa-utils-aplay"
-PV = "0.2.3"
+PV = "0.2.4"
PR = "r0"
S = "${WORKDIR}/trunk"
@@ -16,6 +16,7 @@ FILES_${PN} += "${datadir} ${sysconfdir}"
pkg_postinst_callrec_append() {
#!/bin/sh
+ #still a bit buggy, if the state path change for instance
files0="gsmhandset.state"
files1="gsmheadset.state"
files2="gsmspeakerout.state"
@@ -36,7 +37,8 @@ pkg_postinst_callrec_append() {
echo "Backing up ${filename}"
cp ${current_file} ${callrec_dir}/
- #should fix the patch first
+ #fix the patch
+ sed -i "s!@STATE_PATH@!${current_file}!g" ${callrec_dir}/${filename}.patch
echo "Patching ${filename}"
patch -p0 < ${callrec_dir}/${filename}.patch && patched="1"
fi
More information about the Openembedded-commits
mailing list