I would like to change the partition layout of the .sdcard image so that I have the bootable FAT partition, two O/S partitions and an additional one extendible partition for home filling the rest of the card. Is this possible by overriding some variables or a recipe from somewhere, or is this going to require a more fundamental approach? It doesn't seem like there's any support for doing this, so any pointers would be valuable!
Solved! Go to Solution.
Hi,
More or less yes. I would base my new class on the one from freescale but would name it differently so my conf file could have:
IMAGE_CLASSES += "image_types_mycustomlayout"
Regards,
Gary
Hi,
You can choose your sdcard layout here:
meta-fsl-arm/image_types_fsl.bbclass at master · Freescale/meta-fsl-arm · GitHub
Regards,
Gary
So you're suggesting that the *right* way to do this, is to copy that class into my layer and edit it directly?
Hi,
More or less yes. I would base my new class on the one from freescale but would name it differently so my conf file could have:
IMAGE_CLASSES += "image_types_mycustomlayout"
Regards,
Gary
OK, yes that makes sense. I just didn't know if there was a set of variables I'd missed somewhere, or some kind of definition file I should have been using. If it's just a case of "doing it by hand" that's fine; I just wanted to do it a Yocto way, so thought I would check before hacking around that script.