Hello guys,
I am using Apalis iMX6Q on an Apalis Evaluation Board and I am trying to upgrade a current working project (dunfell) to kirkstone.
Now, since I am using baby steps I build a simple tdx-reference-minimal-image which worked fine. Now, I want to add my custom kernel to it, which is based on linux 4.19 kernel and I am forced to use this exact version and all its customizations.
For this, I have a meta-custom/recipes-kernel/linux/linux-customed_4.19.bb
which I added in my bbfiles. When I execute bitbake-layers show-layers
my meta-custom is on top of that list with priority 1000.
local.conf
contains the following:
MACHINE ?= “apalis-imx6”
ACCEPT_FSL_EULA = “1”
BBFILE_PRIORITY_linux-customed = “1000”
PREFERRED_PROVIDER_virtual/kernel_forcevariable = “linux-customed”
PREFERRED_PROVIDER_virtual/kernel = “linux-customed”
OVERRIDES:append = “:virtual/kernel=linux-customed”
PREFERRED_PROVIDER_virtual/kernel_toradex-mainline = “”
The problem is that whenever I try to build something I get this error:
bitbake linux-customed
ERROR: Nothing PROVIDES ‘linux-customed’
linux-customed was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-toradex-mainline, not linux-customed
Looks like I am stuck with linux-toradex-mainline and cannot force bitbake to use my own linux kernel.
Any idea on how can I force my own kernel into the build?