[oe-commits] Simon Busch : fsousaged: fix configuration for palmpre with aurora distro and bump PR

git version control git at git.openembedded.org
Wed Jun 22 16:59:36 UTC 2011


Module: openembedded.git
Branch: master
Commit: b7915f5af43dd9a03330e36fa8983fb2a934f41e
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=b7915f5af43dd9a03330e36fa8983fb2a934f41e

Author: Simon Busch <morphis at gravedo.de>
Date:   Thu Jun  2 13:48:31 2011 +0200

fsousaged: fix configuration for palmpre with aurora distro and bump PR

Within aurora we use the shadow resource feature of fsousaged, but other distro can't use
them and as FSO configs are only machine specific we need to fix it here.

Signed-off-by: Simon Busch <morphis at gravedo.de>

---

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

diff --git a/recipes/freesmartphone/fsousaged_git.bb b/recipes/freesmartphone/fsousaged_git.bb
index d6a2adf..ae402ae 100644
--- a/recipes/freesmartphone/fsousaged_git.bb
+++ b/recipes/freesmartphone/fsousaged_git.bb
@@ -3,4 +3,9 @@ inherit fso-plugin
 SRCREV = "${FSO_CORNUCOPIA_SRCREV}"
 PV = "0.9.5+gitr${SRCPV}"
 PE = "1"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
+
+do_configure_append_aurora() {
+  # Fix configuration for aurora distribution as other distros get's broken by this
+  sed -i -e 's/^enable_shadow_resources.*$/enable_shadow_resources = 1/g' ${S}/conf/palm_pre/fsousaged.conf
+}





More information about the Openembedded-commits mailing list