Skip to content

Adding linux-lmp-lts and bumping linux-lmp to 5.8.1#204

Merged
ricardosalveti merged 4 commits intofoundriesio:masterfrom
ricardosalveti:kernel-lts
Aug 19, 2020
Merged

Adding linux-lmp-lts and bumping linux-lmp to 5.8.1#204
ricardosalveti merged 4 commits intofoundriesio:masterfrom
ricardosalveti:kernel-lts

Conversation

@ricardosalveti
Copy link
Copy Markdown
Member

Tested 5.8.1 kernel on qemuarm64, intel-corei7-64, beaglebone-yocto, qemuriscv64, freedom-u540, qemuarm and apalis-imx6.

Kernel meta was also updated with the latest config related changes.

Create a LTS focused linux-lmp recipe to allow customers to stay on
latest LTS instead of latest upstream stable if needed/wanted.

This recipe is basically a copy of linux-lmp at this stage, but it will
differ as linux-lmp moves to track latest upstream release.

Signed-off-by: Ricardo Salveti <[email protected]>
Signed-off-by: Ricardo Salveti <[email protected]>
Now that linux-lmp has moved to 5.8, we can't have wireguard-module
being built as part of this recipe, so make sure there is no rprovides
in case the kernel used is linux-lmp.

This won't fix all the use cases we have, but it is the easiest way to
know when it should be built from the kernel or via this recipe (there
is no easy way to parse LINUX_VERSION during dependency checks).

Signed-off-by: Ricardo Salveti <[email protected]>
There is no need for this recipe to build depend on module wireguard as
this is just a runtime dependency, so move that to rdepend instead.

This also allows multiple providers for the same module, for cases when a
kernel source tree is >= 5.6.

Signed-off-by: Ricardo Salveti <[email protected]>
# it is older than 5.6 (version in which the module is provided by the kernel)
python __anonymous() {
pn = d.getVar("PN")
if d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-lmp":
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any way to check the kernel version of the virtual/kernel instead of linux-lmp?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately not from this recipe, as bitbake/OE only really fetches that level of information when executing steps on the linux-based recipe. At this point all we have is the preferred provider, and just because we have that in the machine configuration.

@ricardosalveti ricardosalveti merged commit f340a7a into foundriesio:master Aug 19, 2020
quaresmajose pushed a commit that referenced this pull request Nov 9, 2022
Relevant changes:
- d323df3 Merge pull request #208 from Freescale/backport-207-to-honister
- 32aff9b linux-boundary: bump revision to bb58f0ee
- b123854 Merge pull request #204 from boundarydevices/honister
- 9e698af u-boot-boundary: fix fw_env.config management
- b4df0cf Merge pull request #201 from chrisdimich/honister
- 2ebd2e0 nitrogen8mp: Define nxp as default BSP
- 657e750 Merge pull request #200 from chrisdimich/honister
- 8f6984a u-boot-boundary: bump revision to 3d5e7f60
- b30688b linux-boundary: bump revision to 04f4286f

Signed-off-by: Ricardo Salveti <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants