Hi all
I’m using the meta-mender
layer, branch zeus
to generate an image using Mender. I noticed that the boot partition (/uboot
when using U-Boot) contains the Kernel Image and Devicetree. They are identical to the image and Devicetree on the root partition, directory /boot
.
After digging in the meta-mender
layer I think mender_merge_bootfs_and_image_boot_files()
in meta-mender/meta-mender-core/classes/mender-helpers.bbclass
is responsible for that. So I assume this is done intentionally by Mender.
But why? Is this some kind of fall back for cases in which both root partitions are corrupted? I don’t see how the image on the boot partition would ever be loaded by U-Boot though. So what’s the purpose of those duplicates?
Thanks in advance
David