On Fri, Apr 2, 2021 at 1:16 PM Paul Gortmaker
<paul.gortma...@windriver.com> wrote:
>
> The idea for this recipe is to have a name "linux-master" that people
> can depend on as a reference for mainline; today and ideally for as long
> as we are maintaining it.  While the recipe is there for everybody,
> the obvious user we are creating this for is the linux-yocto-dev repo.
>
> At some point in the future, we'll carve off another chunk of post-v5.10
> work, mark it static and put it alongside of v5.10 and let this mainline
> recipe reference that.  But use of this "linux-master" will be 100%
> transparent to the underlying backing store changes.
>
> Signed-off-by: Paul Gortmaker <paul.gortma...@windriver.com>
> ---
>  meta/recipes-kernel/linux/linux-master.bb | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
>  create mode 100644 meta/recipes-kernel/linux/linux-master.bb
>
> diff --git a/meta/recipes-kernel/linux/linux-master.bb 
> b/meta/recipes-kernel/linux/linux-master.bb
> new file mode 100644
> index 000000000000..f674c2562e81
> --- /dev/null
> +++ b/meta/recipes-kernel/linux/linux-master.bb

I won't reply to all of these fetch only naming patches (maybe this is
the last one,
I didn't check), so this is my last one.

My same namespace comment applies here

Actually, thinking of it more, we could even have these both with fetch-only in
the recipe name AND in a directory structure that implies the same thing.

And thirdly, maybe we could taint the tasks in some way to prevent that jumping
point to building.

Since yes, you'll get someone trying to ask for support using this to build
version 'x' of mainline. I have the battle scars to prove it :D

Bruce

> @@ -0,0 +1,13 @@
> +SUMMARY = "Linux kernel mainline source"
> +DESCRIPTION = "Fetch source of the latest linux mainline kernel"
> +
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
> +
> +DL_NAME = ".torvalds.linux-master"
> +KORG_REF = "git.kernel.org.torvalds.linux-5.10"
> +SRC_URI = 
> "${KORG_URLBASE}/torvalds/linux;rev=master;nobranch=1;dlname=${DL_NAME};packref=${KORG_REF}"
> +
> +do_fetch[depends] += "linux-5.10:do_fetch"
> +
> +require recipes-kernel/linux/fetch-only.inc
> --
> 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 (#9658): 
https://lists.yoctoproject.org/g/linux-yocto/message/9658
Mute This Topic: https://lists.yoctoproject.org/mt/81808179/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