Hi Joshua,

This makes sense, and thanks for the patch. Can you push this as a PR in
GitHub? It would help us run some CI before applying it.

Thanks once again,
-- 
Andrei Gherzan
gpg: rsa4096/D4D94F67AD0E9640


On Mon, Sep 25, 2023 at 9:49 PM Joshua Watt <jpewhac...@gmail.com> wrote:

> wic images depend on the kernel device trees, and therefore should
> depend on virtual/kernel:do_deploy to make sure these are present in the
> deploy directory.
>
> Most of the time, this dependency is satisfied indirectly since a rootfs
> image will depend on the kernel, but add it explicitly for the cases
> where it is not.
>
> Signed-off-by: Joshua Watt <jpewhac...@gmail.com>
> ---
>  conf/machine/include/rpi-base.inc | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/conf/machine/include/rpi-base.inc
> b/conf/machine/include/rpi-base.inc
> index 895fcfe..64f60ab 100644
> --- a/conf/machine/include/rpi-base.inc
> +++ b/conf/machine/include/rpi-base.inc
> @@ -149,6 +149,7 @@ IMAGE_BOOT_FILES ?= "${BOOTFILES_DIR_NAME}/* \
>                   ${RPI_EXTRA_IMAGE_BOOT_FILES} \
>                   "
>  do_image_wic[depends] += " \
> +    virtual/kernel:do_deploy \
>      rpi-bootfiles:do_deploy \
>      ${@bb.utils.contains('RPI_USE_U_BOOT', '1', 'u-boot:do_deploy',
> '',d)} \
>      "
> --
> 2.34.1
>
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#61129): https://lists.yoctoproject.org/g/yocto/message/61129
Mute This Topic: https://lists.yoctoproject.org/mt/101583229/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to