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]>
  • Loading branch information
JPEWdev authored and agherzan committed Sep 27, 2023
1 parent c0aec2f commit 482d864
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 @@ -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)} \
"
Expand Down

0 comments on commit 482d864

Please sign in to comment.