[meta-intel] [PATCH 1/2] sbsigntool: port "sbsigntool: stop using gitsm fetcher" from refkit

California Sullivan california.l.sullivan at intel.com
Fri Aug 18 14:04:26 PDT 2017


From: Mikko Ylinen <mikko.ylinen at linux.intel.com>

>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 <mikko.ylinen at linux.intel.com>

This syncs us up with the sbsigntool recipe in meta-refkit.

Signed-off-by: California Sullivan <california.l.sullivan at intel.com>
---
 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 a7dfe1d..8228a92 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"
 
-- 
2.9.5



More information about the meta-intel mailing list