]> code.ossystems Code Review - openembedded-core.git/commit
linux-yocto-dev: base AUTOREV on specified version
authorBruce Ashfield <bruce.ashfield@gmail.com>
Wed, 16 Jun 2021 20:48:49 +0000 (16:48 -0400)
committerAnuj Mittal <anuj.mittal@intel.com>
Tue, 13 Jul 2021 06:13:18 +0000 (14:13 +0800)
commitb3228b4140575bfc20cb4e5bade0f3737d374e86
tree04077a5670cf7bda56b0052abd6d8ef630732b34
parent760b7b6a031c9dcc9a44e086e1d2dbb2171b3c97
linux-yocto-dev: base AUTOREV on specified version

linux-yocto-dev tracks the latest mainline kernel, and uses
standard/* for that support.

Archived -dev versions are under v<kernel version>/standard/base.

This policy works, except that a released branch will still follow
the new kernel versions, causing potential breakage with newer
kernels than are supported in that release.

Rather than lock the SRCREVs and update branches in old releases,
we can preserve the AUTOREV nature of -dev, and allow them to
switch automatically to the archived branch based on the LINUX_VERSION
in the -dev recipe (which is unchanged in the release branch).

This is consistent with the other branch switching done for the
kernels and with the -dev workflow.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 84e14b6116a7d1e52051c5c80be2d8e3db67c2d7)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/classes/kernel-yocto.bbclass