All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Opdenacker <michael.opdenacker@rootcommit.com>
To: cleiton.bueno@b2open.com
Cc: michael.opdenacker@rootcommit.com, yocto@lists.yoctoproject.org
Subject: Re: [yocto] Simple solution to create a non-root partition image?
Date: Thu, 14 May 2026 18:45:47 +0200	[thread overview]
Message-ID: <51ae5c89-d85a-4aed-b1c1-5ae8cf778faf@rootcommit.com> (raw)
In-Reply-To: <CAA-i2Lw6FS=b6UkJjq42RHR-aHtvqqeULxL0e3UxMNuVhZCx2g@mail.gmail.com>

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



  parent reply	other threads:[~2026-05-14 16:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-03 20:40 Simple solution to create a non-root partition image? Michael Opdenacker
2026-05-04  8:47 ` [yocto] " Quentin Schulz
2026-05-04 13:08   ` Michael Opdenacker
2026-05-04 13:15     ` Quentin Schulz
2026-05-04 13:39     ` Cleiton Bueno
2026-05-04 13:55       ` Michael Opdenacker
2026-05-14 16:45       ` Michael Opdenacker [this message]
     [not found] ` <684BE1E8-500C-4169-B5AF-C72E064F28E8@siliconbladeconsultants.com>
2026-05-04 13:27   ` Michael Opdenacker
2026-05-04 14:05     ` Francesco Cervigni
2026-05-14 16:27     ` Michael Opdenacker
2026-05-04 17:58 ` Francesco Valla
2026-05-06  9:44 ` Felix Mellmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51ae5c89-d85a-4aed-b1c1-5ae8cf778faf@rootcommit.com \
    --to=michael.opdenacker@rootcommit.com \
    --cc=cleiton.bueno@b2open.com \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.