meta-digi: do not install kernel image in rootfs

It's just a waste of space as we already have the kernel image in the
'linux' partition and that gets mounted under /mnt/linux.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2022-07-08 13:23:58 +02:00
parent d0ec5c7aab
commit 90b3c244da
4 changed files with 3 additions and 15 deletions

View File

@ -24,11 +24,6 @@ require ${@oe.utils.conditional('TRUSTFENCE_SIGN', '1', 'recipes-kernel/linux/li
# Use custom provided 'defconfig' if variable KERNEL_DEFCONFIG is cleared
SRC_URI +="${@oe.utils.conditional('KERNEL_DEFCONFIG', '', 'file://defconfig', '', d)}"
FILES:${KERNEL_PACKAGE_NAME}-image += "/boot/config-${KERNEL_VERSION}"
# Don't include kernels in standard images
RDEPENDS:${KERNEL_PACKAGE_NAME}-base = ""
do_install:append:stm32mpcommon() {
if ${@bb.utils.contains('MACHINE_FEATURES','gpu','true','false',d)}; then
# append evbug tool to blacklist

View File

@ -24,11 +24,6 @@ require ${@oe.utils.conditional('TRUSTFENCE_SIGN', '1', 'recipes-kernel/linux/li
# Use custom provided 'defconfig' if variable KERNEL_DEFCONFIG is cleared
SRC_URI +="${@oe.utils.conditional('KERNEL_DEFCONFIG', '', 'file://defconfig', '', d)}"
FILES:${KERNEL_PACKAGE_NAME}-image += "/boot/config-${KERNEL_VERSION}"
# Don't include kernels in standard images
RDEPENDS:${KERNEL_PACKAGE_NAME}-base = ""
# Apply configuration fragments
do_configure:append() {
# Only accept fragments ending in .cfg. If the fragments contain

View File

@ -17,11 +17,6 @@ require recipes-kernel/linux/linux-trustfence.inc
# Use custom provided 'defconfig' if variable KERNEL_DEFCONFIG is cleared
SRC_URI += "${@oe.utils.conditional('KERNEL_DEFCONFIG', '', 'file://defconfig', '', d)}"
FILES:${KERNEL_PACKAGE_NAME}-image += "/boot/config-${KERNEL_VERSION}"
# Don't include kernels in standard images
RDEPENDS:${KERNEL_PACKAGE_NAME}-base = ""
# Apply configuration fragments
do_configure:append() {
# Only accept fragments ending in .cfg. If the fragments contain

View File

@ -63,3 +63,6 @@ DEPENDS += "${@oe.utils.conditional('TRUSTFENCE_SIGN', '1', 'trustfence-sign-too
# Remove kernel-module-imx-gpu-viv from all images
BAD_RECOMMENDATIONS += "kernel-module-imx-gpu-viv"
# Do not include kernel in rootfs images
PACKAGE_EXCLUDE = "kernel-image-*"