Re: Linux 5.10 LTS "mixin" layer for Dunfell


Denys Dmytriyenko
 

On Tue, Jul 20, 2021 at 08:38:05AM +0100, Paul Barker wrote:
On Mon, 19 Jul 2021 13:55:42 -0400
"Denys Dmytriyenko" <denis@...> wrote:

All,

Recently several Yocto Project members have expressed interest in being able
to upgrade the Linux kernel in Dunfell LTS release from 5.4 to 5.10. Both of
those Linux kernel versions are designated "longterm"[1], but at the time
Dunfell was released in April 2020, 5.10 was not out yet.

Recommended way to add new features or upgrade components in Yocto LTS
releases is with the so called "mixin" layers[2]. After discussing some of
the details of such layer among the Yocto Project TSC and other interested
developers, as well as testing the concept for few weeks, I'd like to make
this open to a wider consumption in hopes it would be useful to others.

This Linux kernel "mixin" layer is currently hosted on GitHub under my
name[3], but can be moved to a more public space, like Yocto Project git
server, if it gets traction and is found useful to others. Please feel free
to try it and provide feedback. Thanks!

[1] https://kernel.org/
[2] https://wiki.yoctoproject.org/wiki/Stable_Release_and_LTS#LTS_.E2.80.9CMixin.E2.80.9D_repositories
[3] https://github.com/denix0/meta-lts-kernel-mixin
Hi Denys,
Paul,

Thanks for the review!


This looks like a good initiative. A couple of initial comments:

layer.conf contains `PREFERRED_VERSION_linux-yocto ?= "5.10%"`. It'd
be better to leave that out and in the readme say that users need to
add this in their distro or local conf. That would bring the layer in
line with best practices and what's needed for Yocto Project Compatible
status as adding simply a layer to a build should not result in changes
to the images you build.
Right, good point. I put it there for testing and totally forgot about it.


The layer needs a COPYING or LICENSE file.
Sure, will add a standard MIT one.


It'd be good to explicitly say how contributions to the layer can be
made - should this be by GitHub pull request or via a mailing list?
Yeah, it was missing because GitHub is a temporary location for this layer.
Most probably contribution model will be via a mailing list - will have to
update it after the move.

--
Regards,
Denys Dmytriyenko <denis@...>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186 6D76 4209 0272 9A92 C964

Join openembedded-architecture@lists.openembedded.org to automatically receive all group messages.