diff mbox series

[meta-raspberrypi] rpi-base: wic images depend on the kernel

Message ID 20230925204900.1218494-1-JPEWhacker@gmail.com
State New
Headers show
Series [meta-raspberrypi] rpi-base: wic images depend on the kernel | expand

Commit Message

Joshua Watt Sept. 25, 2023, 8:49 p.m. UTC
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 <JPEWhacker@gmail.com>
---
 conf/machine/include/rpi-base.inc | 1 +
 1 file changed, 1 insertion(+)

Comments

Andrei Gherzan Sept. 26, 2023, 11:34 a.m. UTC | #1
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,
diff mbox series

Patch

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)} \
     "