diff mbox series

[oe,meta-oe,V2] toybox: Switch building from git src_uri

Message ID 20171011015813.12863-1-raj.khem@gmail.com
State New
Headers show
Series [oe,meta-oe,V2] toybox: Switch building from git src_uri | expand

Commit Message

Khem Raj Oct. 11, 2017, 1:58 a.m. UTC
We need a patch e.g. https://github.com/landley/toybox/commit/78289203031afc23585035c362beec10db54958d
to fix build on archlinux

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
- Changes since V1: Added proper layer prefix to subject

 .../recipes-core/toybox/{toybox_0.7.4.bb => toybox_git.bb}  | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)
 rename meta-oe/recipes-core/toybox/{toybox_0.7.4.bb => toybox_git.bb} (90%)

-- 
2.14.2

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-oe/recipes-core/toybox/toybox_0.7.4.bb b/meta-oe/recipes-core/toybox/toybox_git.bb
similarity index 90%
rename from meta-oe/recipes-core/toybox/toybox_0.7.4.bb
rename to meta-oe/recipes-core/toybox/toybox_git.bb
index 76a7af459..08f971573 100644
--- a/meta-oe/recipes-core/toybox/toybox_0.7.4.bb
+++ b/meta-oe/recipes-core/toybox/toybox_git.bb
@@ -2,14 +2,17 @@  SUMMARY = "Toybox combines common utilities together into a single executable."
 HOMEPAGE = "http://www.landley.net/toybox/"
 DEPENDS = "attr"
 
-SRC_URI = "http://www.landley.net/toybox/downloads/${BPN}-${PV}.tar.gz \
-"
-SRC_URI[md5sum] = "55ea59a31c7da9510c8fabe70f4bc561"
-SRC_URI[sha256sum] = "49d74ca897501e5c981516719870fe08581726f5c018abe35ef52c6f0de113e7"
-
 LICENSE = "BSD-0-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=f0b8b3dd6431bcaa245da0a08bd0d511"
 
+PV = "0.7.4+git${SRCPV}"
+
+SRCREV = "78289203031afc23585035c362beec10db54958d"
+SRC_URI = "git://github.com/landley/toybox;protocol=https \
+"
+
+S = "${WORKDIR}/git"
+
 SECTION = "base"
 
 TOYBOX_BIN = "generated/unstripped/toybox"