kernel: Create specific recipe for initramfs images

Changing KERNEL_PACKAGE_NAME allows this variant of the kernel to live
its own life in tmp/work/ instead of being shared in tmp/work-shared.

It is also not providing virtual/kernel.

This way, the "official" kernel (virtual/kernel) is never modified and
rebuilt, leading to strange behavior regarding deployed licenses.

BugzID: 69147
This commit is contained in:
Alexandre Bard 2020-11-27 14:20:46 +01:00
parent 0d3fc719bc
commit 7ac62047b1
1 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,4 @@
require recipes-kernel/linux/linux-netmodule_git.bb
KERNEL_PACKAGE_NAME = "initramfs-linux"
PROVIDES += "virtual/netmodule-image"