Patchwork [3/6] ofono: add 0.42 version which works OK for Ericsson 3G module.

login
register
mail settings
Submitter Dongxiao Xu
Date June 16, 2011, 9:20 a.m.
Message ID <5c84e7ce826aed4414afe9eafe841f02eee3e06d.1308215406.git.dongxiao.xu@intel.com>
Download mbox | patch
Permalink /patch/6015/
State New, archived
Headers show

Comments

Dongxiao Xu - June 16, 2011, 9:20 a.m.
We met ofonod crash after ofono-0.43 version. Thus import 0.42 version
to enable the 3G feature.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
---
 meta/conf/distro/include/default-versions.inc |    1 +
 meta/recipes-connectivity/ofono/ofono.inc     |    2 ++
 meta/recipes-connectivity/ofono/ofono_0.42.bb |   13 +++++++++++++
 3 files changed, 16 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-connectivity/ofono/ofono_0.42.bb

Patch

diff --git a/meta/conf/distro/include/default-versions.inc b/meta/conf/distro/include/default-versions.inc
index 0abbd8f..f29ee12 100644
--- a/meta/conf/distro/include/default-versions.inc
+++ b/meta/conf/distro/include/default-versions.inc
@@ -13,6 +13,7 @@  PREFERRED_VERSION_python-native ?= "2.6.6"
 # Force the older version of liberation-fonts until we fix the fontforge issue
 PREFERRED_VERSION_liberation-fonts ?= "1.04"
 
+PREFERRED_VERSION_ofono ?= "0.42"
 
 
 
diff --git a/meta/recipes-connectivity/ofono/ofono.inc b/meta/recipes-connectivity/ofono/ofono.inc
index ee3bc3e..4fc969c 100644
--- a/meta/recipes-connectivity/ofono/ofono.inc
+++ b/meta/recipes-connectivity/ofono/ofono.inc
@@ -15,5 +15,7 @@  INITSCRIPT_PARAMS = "defaults 22"
 do_install_append() {
   install -d ${D}${sysconfdir}/init.d/
   install -m 0755 ${WORKDIR}/ofono ${D}${sysconfdir}/init.d/ofono
+  install -d ${D}${sysconfdir}/udev/rules.d/
+  install -m 0644 ${S}/plugins/97-ofono.rules ${D}${sysconfdir}/udev/rules.d/
 }
 
diff --git a/meta/recipes-connectivity/ofono/ofono_0.42.bb b/meta/recipes-connectivity/ofono/ofono_0.42.bb
new file mode 100644
index 0000000..defea0a
--- /dev/null
+++ b/meta/recipes-connectivity/ofono/ofono_0.42.bb
@@ -0,0 +1,13 @@ 
+require ofono.inc
+
+PR = "r0"
+
+SRC_URI  = "${KERNELORG_MIRROR}/linux/network/ofono/${P}.tar.bz2 \
+	          file://ofono"
+
+EXTRA_OECONF += "\
+  --enable-test \
+"
+
+SRC_URI[md5sum] = "e3ccf43a287153eed25f8dd75e7c6d18"
+SRC_URI[sha256sum] = "5b6f78cbe218fbc5c84401cd9d64b3204529e98822f959a9b2aae34b538076af"