[oe-commits] Martin Jansa : fsodeviced: fix preinst

git version control git at git.openembedded.org
Sun Apr 10 10:46:55 UTC 2011


Module: openembedded.git
Branch: master
Commit: f045268c1af242883fa4aa630fa134ef0eaf09ba
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=f045268c1af242883fa4aa630fa134ef0eaf09ba

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Sun Apr 10 12:44:18 2011 +0200

fsodeviced: fix preinst

* fsodeviced could remove alsa-default dir just after fsodeviced-config installed those files
  so in the end those files were missing

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 recipes/freesmartphone/fsodeviced_git.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/freesmartphone/fsodeviced_git.bb b/recipes/freesmartphone/fsodeviced_git.bb
index cfd2c0b..ed2e288 100644
--- a/recipes/freesmartphone/fsodeviced_git.bb
+++ b/recipes/freesmartphone/fsodeviced_git.bb
@@ -6,7 +6,7 @@ RPROVIDES_${PN} = "openmoko-alsa-scenarios virtual/alsa-scenarios"
 SRCREV = "${FSO_CORNUCOPIA_SRCREV}"
 PV = "0.9.4+gitr${SRCPV}"
 PE = "2"
-PR = "${INC_PR}.21"
+PR = "${INC_PR}.22"
 
 EXTRA_OECONF = "\
   --enable-kernel26-rfkill \
@@ -26,7 +26,7 @@ do_install_append() {
 	install -m 0755 ${WORKDIR}/fsodeviced ${D}${sysconfdir}/init.d/
 }
 
-pkg_preinst_${PN} () {
+pkg_preinst_${PN}-config () {
 	# work-arround for opkg complaining that it cannot replace alsa-default dir (leftover from older fsodeviced) with new alsa-default symlink
         rm -rf ${sysconfdir}/freesmartphone/conf/openmoko_gta/alsa-default/
 }





More information about the Openembedded-commits mailing list