On Fri, Apr 2, 2021 at 1:16 PM Paul Gortmaker
<paul.gortma...@windriver.com> wrote:
>
> As per the comment in the file itself, we have to explicitly disable
> (pre)mirror support for both kernel repositories, or else the fetcher
> will unhelpfully volunteer to wget gigs of what amounts to largely
> useless content that we don't want.
>
> Signed-off-by: Paul Gortmaker <paul.gortma...@windriver.com>
> ---
>  meta/recipes-kernel/linux/linux-yocto.inc | 10 ++++++++++
>  1 file changed, 10 insertions(+)
>
> diff --git a/meta/recipes-kernel/linux/linux-yocto.inc 
> b/meta/recipes-kernel/linux/linux-yocto.inc
> index a85280990b43..5ec1b1ba7023 100644
> --- a/meta/recipes-kernel/linux/linux-yocto.inc
> +++ b/meta/recipes-kernel/linux/linux-yocto.inc
> @@ -56,3 +56,13 @@ do_install_append(){
>
>  # enable kernel-sample for oeqa/runtime/cases's ksample.py test
>  KERNEL_FEATURES_append_qemuall=" features/kernel-sample/kernel-sample.scc"
> +
> +# For linux-yocto-dev, the existing v3.17 based premirror tarball is of no
> +# value, and for the non-dev variants, we don't want to be going off and
> +# w-getting the 3+ gigabyte (!!!) mirror tarball either, when we've got
> +# a shared v5.10 repository already.  We can delete this in the future once
> +# these old tarballs are gone.  But really we may never bother to mirror
> +# either of them ever again, since they are (a) now small, and (b) leaf
> +# nodes at the end of the chain where the content is regularly changing.
> +PREMIRRORS = ""
> +MIRRORS = ""

I suppose these are already set somewhere else, so a ?= won't actually
override the defaults.

I was just trying to think of a way that someone might want to turn it
back on, and they'd have to use an override in a bbappend to do it ..
but I suppose that isn't any nastier than would be required with ?=

Bruce

> --
> 2.25.1
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9659): 
https://lists.yoctoproject.org/g/linux-yocto/message/9659
Mute This Topic: https://lists.yoctoproject.org/mt/81808197/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to