Jia, thanks for the answer. It seems to do the same thing as the wic's part --extra-space option (which is not well documented too, it is not clear if it leaves space inside the filesystem that will be written to the partition, or just leave empty space in the partition outside of it).
Regarding --fixed-space, I don't think it is actually working. Reading through the source code of EFI boot guard plugins, they just consider part.size and ignore part.fixed_size. If you try to use option --fixed-size in the wic part command, you'll get an error. Il giorno venerdì 1 luglio 2022 alle 15:41:50 UTC+2 Jan Kiszka ha scritto: > On 01.07.22 14:17, Marco Braga wrote: > > Hi, > > while reading the code of the wic plugin, I stumbled upon > > BOOTDD_EXTRA_SPACE. I really don't understand what is it for. It seems > > that if the content of the partition uses space X, BOOTDD_EXTRA_SPACE > > will add more space and make the partition grow so that there is always > > at least BOOTDD_EXTRA_SPACE. Why isn't the partitltion simply fixed in > size? > > BOOTDD_EXTRA_SPACE looks like an undocumented interface of OE wic to > request, well, extra space on the boot partition. meta-efibootguard > tries to implement this, just like > > https://git.openembedded.org/openembedded-core/tree/scripts/lib/wic/plugins/source/bootimg-efi.py > . > You may also specify a fixed size for your partition in the wks file, of > course. > > Jan > > -- > Siemens AG, Technology > Competence Center Embedded Linux > -- You received this message because you are subscribed to the Google Groups "EFI Boot Guard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/efibootguard-dev/5e157621-4d18-40d8-a005-24d9410f91cdn%40googlegroups.com.
