"make kernel machine-specific package" doesn't reflect the actual change, plus 
kernel is already a machine-specific package - PACKAGE_ARCH = "${MACHINE_ARCH}"

Your original commit for beaglebone-yocto in meta-yocto-bsp is correct though.

I can take these patches into my new WIP master tree with this minor update.


On Sat, Jan 29, 2022 at 02:33:19PM -0500, Vivien Didelot wrote:
> Require kernel image and device tree as machine-specific packages with
> MACHINE_ESSENTIAL_EXTRA_RDEPENDS instead of appending IMAGE_INSTALL.
> 
> This binds the packages to the packagegroup-core-boot package group,
> allowing one to skip their installation, e.g. for container trees.
> 
> This patch reflects commit d4cbe0e43393 [1] from meta-yocto-bsp
> ("beaglebone-yocto: move kernel and dtb to packagegroup-core-boot").
> 
> [1] 
> https://git.yoctoproject.org/meta-yocto/commit/?id=d4cbe0e43393ec70e98caf006372b5311597d377
> 
> Signed-off-by: Vivien Didelot <[email protected]>
> ---
>  conf/machine/beaglebone.conf | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/conf/machine/beaglebone.conf b/conf/machine/beaglebone.conf
> index dcb14cc9..fe3127bb 100644
> --- a/conf/machine/beaglebone.conf
> +++ b/conf/machine/beaglebone.conf
> @@ -13,7 +13,7 @@ MACHINE_GUI_CLASS = "bigscreen"
>  
>  SERIAL_CONSOLES = "115200;ttyS0"
>  
> -IMAGE_INSTALL:append = " kernel-devicetree kernel-image-zimage"
> +MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-devicetree kernel-image-zimage"
>  
>  # Refine the list of device targets for ti-pdk class recipes
>  TI_PDK_LIMIT_BOARDS = "bbbAM335x"
> -- 
> 2.35.0
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14397): 
https://lists.yoctoproject.org/g/meta-ti/message/14397
Mute This Topic: https://lists.yoctoproject.org/mt/88778315/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to