From 18bb0929e1832163f536bc0fd54d59ea7b66b32b Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 10 Oct 2017 18:58:13 -0700 Subject: [PATCH] toybox: Switch building from git src_uri We need a patch e.g. https://github.com/landley/toybox/commit/78289203031afc23585035c362beec10db54958d to fix build on archlinux Signed-off-by: Khem Raj Signed-off-by: Martin Jansa --- .../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%) 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 76a7af4595..08f9715737 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"