meta-agl-profile-core: recipes-connectivity: ofono: upgrade to 1.24 25/19925/5
authorMatt Ranostay <matt.ranostay@konsulko.com>
Tue, 5 Feb 2019 18:29:03 +0000 (20:29 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 18 Feb 2019 11:30:30 +0000 (11:30 +0000)
Backport from thud that pulls in various Qualcomm WWAN bugfixes and
feature enchancements that are required for functional support.

Bug-AGL: SPEC-2160
Change-Id: Ic82508a5b747a2ddd9c0ead774be1e5ef416e358
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
meta-agl-profile-core/recipes-connectivity/ofono/files/ofono [new file with mode: 0644]
meta-agl-profile-core/recipes-connectivity/ofono/ofono_1.24.bb [new file with mode: 0644]

diff --git a/meta-agl-profile-core/recipes-connectivity/ofono/files/ofono b/meta-agl-profile-core/recipes-connectivity/ofono/files/ofono
new file mode 100644 (file)
index 0000000..cc99709
--- /dev/null
@@ -0,0 +1,42 @@
+#!/bin/sh
+
+DAEMON=/usr/sbin/ofonod
+PIDFILE=/var/run/ofonod.pid
+DESC="Telephony daemon"
+
+if [ -f /etc/default/ofono ] ; then
+       . /etc/default/ofono
+fi
+
+set -e
+
+do_start() {
+       $DAEMON
+}
+
+do_stop() {
+       start-stop-daemon --stop --name ofonod --quiet
+}
+
+case "$1" in
+  start)
+       echo "Starting $DESC"
+       do_start
+       ;;
+  stop)
+       echo "Stopping $DESC"
+       do_stop
+       ;;
+  restart|force-reload)
+       echo "Restarting $DESC"
+       do_stop
+       sleep 1
+       do_start
+       ;;
+  *)
+       echo "Usage: $0 {start|stop|restart|force-reload}" >&2
+       exit 1
+       ;;
+esac
+
+exit 0
diff --git a/meta-agl-profile-core/recipes-connectivity/ofono/ofono_1.24.bb b/meta-agl-profile-core/recipes-connectivity/ofono/ofono_1.24.bb
new file mode 100644 (file)
index 0000000..ba3c349
--- /dev/null
@@ -0,0 +1,8 @@
+require ../../../../poky/meta/recipes-connectivity/ofono/ofono.inc
+
+SRC_URI  = "\
+  ${KERNELORG_MIRROR}/linux/network/${BPN}/${BP}.tar.xz \
+  file://ofono \
+"
+SRC_URI[md5sum] = "be24e80f6551f46fea0c5b5879964d6c"
+SRC_URI[sha256sum] = "9c8e351b7658f4b43f9a4380b731c47d2d7544a89987c48c3f227e73636c87ae"