[oe-commits] Martin Jansa : fsodeviced: add short preinst work-arround

git version control git at git.openembedded.org
Mon May 3 03:27:04 UTC 2010


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

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Mon Apr 26 19:32:46 2010 +0200

fsodeviced: add short preinst work-arround

* for opkg complaining that it cannot replace alsa-default dir (leftover from older fsodeviced) with new alsa-default symlink

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

---

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

diff --git a/recipes/freesmartphone/fsodeviced_git.bb b/recipes/freesmartphone/fsodeviced_git.bb
index 90eb91c..1e1f73e 100644
--- a/recipes/freesmartphone/fsodeviced_git.bb
+++ b/recipes/freesmartphone/fsodeviced_git.bb
@@ -9,7 +9,7 @@ RPROVIDES_${PN} = "openmoko-alsa-scenarios virtual/alsa-scenarios"
 SRCREV = "${FSO_CORNUCOPIA_SRCREV}"
 PV = "0.9.0+gitr${SRCPV}"
 PE = "2"
-PR = "${INC_PR}.10"
+PR = "${INC_PR}.11"
 
 EXTRA_OECONF = "\
   --enable-kernel26-rfkill \
@@ -27,3 +27,8 @@ do_install_append() {
 	install -d ${D}${sysconfdir}/init.d/
 	install -m 0755 ${WORKDIR}/fsodeviced ${D}${sysconfdir}/init.d/
 }
+
+pkg_preinst_${PN} () {
+	# 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