[OE-core] [meta][PATCH] ofono: convert recipe to use git

Nicola Lunghi nick83ola at gmail.com
Thu Oct 3 17:18:16 UTC 2019


From: Nicola Lunghi <nick83ola at gmail.com>

ofono has a git repository available.
Use that instead of the KERNELORG_MIRROR

Signed-off-by: Nicola Lunghi <nicola.lunghi at jci.com>
---
 meta/recipes-connectivity/ofono/ofono.inc     | 4 +++-
 meta/recipes-connectivity/ofono/ofono_1.30.bb | 3 +--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-connectivity/ofono/ofono.inc b/meta/recipes-connectivity/ofono/ofono.inc
index bbf31c3a9d..63f97a97d7 100644
--- a/meta/recipes-connectivity/ofono/ofono.inc
+++ b/meta/recipes-connectivity/ofono/ofono.inc
@@ -7,10 +7,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \
 DEPENDS = "dbus glib-2.0 udev mobile-broadband-provider-info ell"
 
 SRC_URI = "\
-    ${KERNELORG_MIRROR}/linux/network/${BPN}/${BP}.tar.xz \
+    git://git.kernel.org/pub/scm/network/ofono/ofono.git \
     file://ofono \
 "
 
+S = "${WORKDIR}/git"
+
 inherit autotools pkgconfig update-rc.d systemd gobject-introspection-data
 
 INITSCRIPT_NAME = "ofono"
diff --git a/meta/recipes-connectivity/ofono/ofono_1.30.bb b/meta/recipes-connectivity/ofono/ofono_1.30.bb
index 71c33e1287..37cc0c79d0 100644
--- a/meta/recipes-connectivity/ofono/ofono_1.30.bb
+++ b/meta/recipes-connectivity/ofono/ofono_1.30.bb
@@ -3,5 +3,4 @@ require ofono.inc
 SRC_URI_append = " \
     file://0001-mbim-add-an-optional-TEMP_FAILURE_RETRY-macro-copy.patch \
 "
-SRC_URI[md5sum] = "2b1ce11a4db1f4b5c8cd96eb7e96ba0c"
-SRC_URI[sha256sum] = "8079735efc5d7f33be9e792e791f2f7ff75c31ce67d477b994673e32319eec5c"
+SRCREV = "c1de25bcb4541ee4c69cbd31baea681025df43ed"
-- 
2.20.1



More information about the Openembedded-core mailing list