From 451b945c526286417ae471e5f9dfce0373ff8bd0 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Mon, 26 Apr 2010 19:32:46 +0200 Subject: 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 --- recipes/freesmartphone/fsodeviced_git.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/recipes/freesmartphone/fsodeviced_git.bb b/recipes/freesmartphone/fsodeviced_git.bb index 90eb91c101..1e1f73e710 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/ +} -- cgit v1.2.3