From f2a1a7095ba04581b2a80811743eff517ca8c7c0 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Thu, 26 Sep 2019 19:24:21 +0200 Subject: linux-toradex-rt: provide alternate download location The RT project moves the patches into an 'older' directory once superseeded by a newer patch. Provide both download paths to cope with the changing location. While at it use the OE maintained KERNELORG_MIRROR variable to specify the path. Signed-off-by: Max Krummenacher --- recipes-kernel/linux/linux-toradex-rt_4.14-2.0.x.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'recipes-kernel') diff --git a/recipes-kernel/linux/linux-toradex-rt_4.14-2.0.x.bb b/recipes-kernel/linux/linux-toradex-rt_4.14-2.0.x.bb index 6a45bee..f69e1e2 100644 --- a/recipes-kernel/linux/linux-toradex-rt_4.14-2.0.x.bb +++ b/recipes-kernel/linux/linux-toradex-rt_4.14-2.0.x.bb @@ -3,8 +3,11 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/linux-toradex-rt-4.14-2.0.x:" SUMMARY = "Real-Time Linux kernel for Toradex Freescale i.MX based modules" +# patches get moved into the 'older' directory when superseeded, so provide +# both possible storage locations. +MIRRORS += "${KERNELORG_MIRROR}/linux/kernel/projects/rt/4.14/older/ ${KERNELORG_MIRROR}/linux/kernel/projects/rt/4.14/" SRC_URI += " \ - https://cdn.kernel.org/pub/linux/kernel/projects/rt/4.14/patch-4.14.126-rt62.patch.xz;name=rt-patch \ + ${KERNELORG_MIRROR}/linux/kernel/projects/rt/4.14/older/patch-4.14.126-rt62.patch.xz;name=rt-patch \ " SRC_URI[rt-patch.md5sum] = "47f2bb663112711d7270902e7e42cd16" -- cgit v1.2.3