summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@gmail.com>2022-01-10 11:56:40 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-01-21 14:44:27 +0000
commit9f8e74668730e6eb3eb44df187a40d0a0f8c7b0a (patch)
treea6dd2a8f26b2c6ad0f9210b16470ba50f2cb533d
parent66a76e7cc7b8be2965e7cd9093053f8e5ab71a96 (diff)
downloadpoky-9f8e74668730e6eb3eb44df187a40d0a0f8c7b0a.tar.gz
poky-9f8e74668730e6eb3eb44df187a40d0a0f8c7b0a.tar.bz2
poky-9f8e74668730e6eb3eb44df187a40d0a0f8c7b0a.zip
beaglebone-yocto: move kernel and dtb to packagegroup-core-boot
Appending IMAGE_INSTALL with the kernel and device tree is a bad idea because it will bring these packages to every images, like a container image or sysroot image to pivot to, where the kernel artifacts are not wanted. Instead use the MACHINE_ESSENTIAL_EXTRA_RDEPENDS which results in having the kernel artifacts where they should be, part of packagegroup-core-boot. (From meta-yocto rev: d4cbe0e43393ec70e98caf006372b5311597d377) Signed-off-by: Vivien Didelot <vdidelot@pbsc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta-yocto-bsp/conf/machine/beaglebone-yocto.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf b/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
index 9eb83cce84..284559c50c 100644
--- a/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
+++ b/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
@@ -17,7 +17,7 @@ include conf/machine/include/arm/armv7a/tune-cortexa8.inc
IMAGE_FSTYPES += "tar.bz2 jffs2 wic wic.bmap"
EXTRA_IMAGECMD:jffs2 = "-lnp "
WKS_FILE ?= "beaglebone-yocto.wks"
-IMAGE_INSTALL:append = " kernel-devicetree kernel-image-zimage"
+MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image kernel-devicetree"
do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot virtual/bootloader:do_deploy"
SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0 115200;ttyAMA0"