image_partition_raw_dos: add bootable flag
For creating a beagleboneblack image with a working u-boot, it is required the vfat partition gets the boot flag set. Could you please consider adding this feature? I add a patch which would permit to set the variable
bootable_partto the partition number on which to set the boot flag.
1 Related Merge Request
I will merge this, but without the need of setting the bootable_part variable. I think it's safe to make the first (VFAT) partition bootable in every case.
I usually refrain of changing things without testing the result. This would change the build of all images. Without testing again all images, it is difficult to tell which unexpected result could happen. However if you want to take the risk in order to keep the codebase smaller, that is fine to me. Note that I can help testing the following boards: pi2 pi3 a20-olinuxino-micro a10-olinuxino-lime beagleboneblack.