Currently the "boot gap" is not copied from input image to output image. This is the area between the MBR and the first partition. On some images/platforms, this area contains the bootloader binary and to support these we need to transfer this area from input to output image.
This should be done by default when we try to do an U-boot -> GRUB integration
- MENDER_COPY_BOOT_GAP=y is set in configs/mender_convert_config
- MENDER_COPY_BOOT_GAP is implemented in mender-convert-extract and mender-convert-package
- MENDER_COPY_BOOT_GAP=n is set on existing platform configurations that do not need this