diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2020-08-04 18:01:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-04 18:01:08 +0200 |
commit | f4d70dae398a0b497e6c90c47b52439b43698d30 (patch) | |
tree | f8096186254772cb830d4580225030ff66c40e42 | |
parent | 4af1ea60f37d8a63a3a9633be14591f1b2066cd1 (diff) | |
parent | 8414615cd799013fbc0662d4ff8f82219afb71ce (diff) | |
download | meta-updater-f4d70dae398a0b497e6c90c47b52439b43698d30.tar.gz |
Merge pull request #758 from advancedtelematic/fix/rpi-bootfiles-path
sota_raspberrypi: Use new variable for bootfiles path.
-rw-r--r-- | classes/sota_raspberrypi.bbclass | 5 |
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 | ||
42 | IMAGE_BOOT_FILES_sota = "bcm2835-bootfiles/* \ | 42 | IMAGE_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 |
49 | IMAGE_BOOT_FILES_append_sota = "${@make_dtb_boot_files(d)}" | 50 | IMAGE_BOOT_FILES_append_sota = "${@make_dtb_boot_files(d)}" |