Skip to content

Commit

Permalink
rpi-base: Fix wic image kernel dependency
Browse files Browse the repository at this point in the history
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 <[email protected]>
(cherry picked from commit 482d864)
  • Loading branch information
JPEWdev authored and agherzan committed Sep 29, 2023
1 parent 80a12f7 commit 59a6a1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions conf/machine/include/rpi-base.inc
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ IMAGE_BOOT_FILES ?= "${BOOTFILES_DIR_NAME}/* \
'${KERNEL_IMAGETYPE};${SDIMG_KERNELIMAGE}', d)} \
"
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)} \
"
Expand Down

0 comments on commit 59a6a1b

Please sign in to comment.