Re: [yocto] Simple solution to create a non-root partition image?
Michael Opdenacker <[email protected]> Thu, 14 May 2026 18:45:47 +0200
| Newsgroups | org.yoctoproject.lists.yocto |
|---|---|
| Message-ID | <[email protected]> |
Hi Cleiton On 5/4/26 3:39 PM, Cleiton Bueno via lists.yoctoproject.org wrote: > Wouldn't enabling the TEZI_DATA_ENABLED variable and using this extra > partition work? > > https://git.toradex.com/meta-toradex-bsp-common.git/tree/classes/image_type_tezi.bbclass?h=scarthgap-7.x.y#n37 > > I already needed to create a class for a client with 2 additional > partitions and I made a copy of image_type_tezi.bbclass and customized > it for my client. That's exactly what I did to have extra partitions :) > > And create an .ext4 file and put it in this partition? Well, ultimately, it was easier to create a tar archive and set TEZI_DATA_FILES to this new archive. This is more flexible than setting a fixed size ext4 image. I let Tezi format the partition with ext4 and extra the archive into it, just like what is done for the root filesystem. Thanks for your contribution to this thread! Cheers Michael. -- Root Commit Embedded Linux Training and Consulting https://rootcommit.com