From f91a1d5ebe540d5f6fe1475c969874d1e7ab9c38 Mon Sep 17 00:00:00 2001 From: Gonzalo Ruiz Date: Mon, 21 Dec 2020 17:42:05 +0100 Subject: [PATCH] trustfence-cst: remove premirror for cst tarball Tarball file is going to be present in the DIGI FTP, so there is no need for premirrors. Signed-off-by: Gonzalo Ruiz --- .../trustfence-cst/trustfence-cst_3.3.1.bb | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/meta-digi-arm/recipes-bsp/trustfence-cst/trustfence-cst_3.3.1.bb b/meta-digi-arm/recipes-bsp/trustfence-cst/trustfence-cst_3.3.1.bb index 531514254..143827899 100644 --- a/meta-digi-arm/recipes-bsp/trustfence-cst/trustfence-cst_3.3.1.bb +++ b/meta-digi-arm/recipes-bsp/trustfence-cst/trustfence-cst_3.3.1.bb @@ -29,17 +29,6 @@ SRC_URI = " \ SRC_URI[md5sum] = "27ba9c8bc0b8a7f14d23185775c53794" SRC_URI[sha256sum] = "8b7e44e3e126f814f5caf8a634646fe64021405302ca59ff02f5c8f3b9a5abb9" -# Usually local files (with file:// protocol) are not checked for -# premirrors. But in this case we want to be able to download the 'cst' -# package from a premirror in case it's not already in the DL_DIR, so prepend -# a premirror for the 'file://' protocol. -python() { - source_mirror_url = d.getVar('SOURCE_MIRROR_URL', True) - if source_mirror_url: - premirrors = d.getVar('PREMIRRORS', True) - d.setVar('PREMIRRORS', "file://cst.* %s \\n %s" % (source_mirror_url, premirrors)) -} - S = "${WORKDIR}/cst-${PV}/" do_compile() {