summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2020-08-04 13:50:50 +0200
committerPatrick Vacek <patrickvacek@gmail.com>2020-08-04 13:50:50 +0200
commit8414615cd799013fbc0662d4ff8f82219afb71ce (patch)
treef8096186254772cb830d4580225030ff66c40e42
parent4af1ea60f37d8a63a3a9633be14591f1b2066cd1 (diff)
downloadmeta-updater-fix/rpi-bootfiles-path.tar.gz
sota_raspberrypi: Use new variable for bootfiles path.fix/rpi-bootfiles-path
This was changed in a907c3261ef583f898803706cd596d372c6644cb of meta-raspberrypi. This also requires 0b5292d13692ba074dc85227233e3a819d944204 in meta-updater-raspberrypi. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
-rw-r--r--classes/sota_raspberrypi.bbclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/classes/sota_raspberrypi.bbclass b/classes/sota_raspberrypi.bbclass
index 744ba22..3935ba8 100644
--- a/classes/sota_raspberrypi.bbclass
+++ b/classes/sota_raspberrypi.bbclass
@@ -39,11 +39,12 @@ def make_dtb_boot_files(d):
39 39
40 return ' '.join([transform(dtb) for dtb in alldtbs.split(' ') if dtb]) 40 return ' '.join([transform(dtb) for dtb in alldtbs.split(' ') if dtb])
41 41
42IMAGE_BOOT_FILES_sota = "bcm2835-bootfiles/* \ 42IMAGE_BOOT_FILES_sota = "${BOOTFILES_DIR_NAME}/* \
43 u-boot.bin;${SDIMG_KERNELIMAGE} \ 43 u-boot.bin;${SDIMG_KERNELIMAGE} \
44 " 44 "
45 45
46# OSTree puts its own boot.scr to bcm2835-bootfiles 46# OSTree puts its own boot.scr in ${BOOTFILES_DIR_NAME} (historically
47# bcm2835-bootfiles, now just bootfiles).
47# rpi4 and recent rpi3 firmwares needs dtb in /boot partition 48# rpi4 and recent rpi3 firmwares needs dtb in /boot partition
48# so that they can be read by the firmware 49# so that they can be read by the firmware
49IMAGE_BOOT_FILES_append_sota = "${@make_dtb_boot_files(d)}" 50IMAGE_BOOT_FILES_append_sota = "${@make_dtb_boot_files(d)}"