From 7bf6abf8782e7857fd86187f549a485c7f835e40 Mon Sep 17 00:00:00 2001 From: Mikko Ylinen Date: Fri, 18 Aug 2017 14:04:26 -0700 Subject: sbsigntool: port "sbsigntool: stop using gitsm fetcher" from refkit From Mikko: gitsm fetcher does not work well with download cache (submodules never get to the local source mirror) and each builds ends up cloning ccan. Move to use git fetcher (with https protocol) for both sbsigntool and ccan independently to speed up fetching and to get the mirroring benefits. The gitsm fetcher limitations are reported in YOCTO #11594. Signed-off-by: Mikko Ylinen This syncs us up with the sbsigntool recipe in meta-refkit. Signed-off-by: California Sullivan --- common/recipes-support/sbsigntool/sbsigntool-native_git.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/common/recipes-support/sbsigntool/sbsigntool-native_git.bb b/common/recipes-support/sbsigntool/sbsigntool-native_git.bb index a7dfe1d5..8228a925 100644 --- a/common/recipes-support/sbsigntool/sbsigntool-native_git.bb +++ b/common/recipes-support/sbsigntool/sbsigntool-native_git.bb @@ -19,10 +19,13 @@ LIC_FILES_CHKSUM = "file://LICENSE.GPLv3;md5=9eef91148a9b14ec7f9df333daebc746 \ # The original upstream is git://kernel.ubuntu.com/jk/sbsigntool but it has # not been maintained and many patches have been backported in this repo. -SRC_URI = "gitsm://git.kernel.org/pub/scm/linux/kernel/git/jejb/sbsigntools.git;protocol=git \ +SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/jejb/sbsigntools.git;protocol=https;name=sbsigntools \ + git://github.com/rustyrussell/ccan.git;protocol=https;destsuffix=git/lib/ccan.git;name=ccan \ " -SRCREV = "efbb550858e7bd3f43e64228d22aea440ef6a14d" +SRCREV_sbsigntools ?= "efbb550858e7bd3f43e64228d22aea440ef6a14d" +SRCREV_ccan ?= "b1f28e17227f2320d07fe052a8a48942fe17caa5" +SRCREV_FORMAT = "sbsigntools_ccan" DEPENDS = "binutils-native gnu-efi-native help2man-native openssl-native util-linux-native" -- cgit v1.2.3-54-g00ecf