Re: [yocto] Simple solution to create a non-root partition image?
Michael Opdenacker <[email protected]> Thu, 14 May 2026 18:27:29 +0200
| Newsgroups | org.yoctoproject.lists.yocto |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--------------cA8Qhmeycf0H9q6wa6Z1Gldt
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Hi Ming
On 5/4/26 3:27 PM, Michael Opdenacker wrote:
>
> Hi Ming
>
> On 5/4/26 3:14 PM, Iain Menzies-Runciman wrote:
>> Hi Michael,
>>
>> If it is any use I have just created an article based on this
>> concept, as I have had to do similar for one of my clients:
>>
>> Populating a Partition
>> <https://www.siliconbladeconsultants.com/articles/20260502-populate-partitions/>
>> siliconbladeconsultants.com
>> <https://www.siliconbladeconsultants.com/articles/20260502-populate-partitions/>
>> favicon.ico
>> <https://www.siliconbladeconsultants.com/articles/20260502-populate-partitions/>
>>
>>
>> <https://www.siliconbladeconsultants.com/articles/20260502-populate-partitions/>
>>
>> In essence, I create an ext4 image in my recipe and then you can do
>> whatever you need with it (such as for me - write it to my wic file)
>
> What a nice coincidence... You just wrote that article!
> This sounds like a very simple and elegant solution for my needs. I
> Actually just have a few files and scripts to drop in this filesystem.
>
I eventually used your idea to create a tar archive instead, which I
then fed to Toradex Easy Installer (that's what the project currently used).
That was a very simple and elegant solution. Thanks again!
Cheers
Michael.
--
Root Commit
Embedded Linux Training and Consulting
https://rootcommit.com
--------------cA8Qhmeycf0H9q6wa6Z1Gldt
Content-Type: multipart/related;
boundary="------------B9xcW2c5mslUW2juQv4Rgm0O"
--------------B9xcW2c5mslUW2juQv4Rgm0O
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Ming</p>
<div class="moz-cite-prefix">On 5/4/26 3:27 PM, Michael Opdenacker
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:[email protected]">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>Hi Ming</p>
<div class="moz-cite-prefix">On 5/4/26 3:14 PM, Iain
Menzies-Runciman wrote:<br>
</div>
<blockquote type="cite"
cite="mid:[email protected]">
<meta http-equiv="content-type"
content="text/html; charset=UTF-8">
Hi Michael,
<div><br>
</div>
<div>If it is any use I have just created an article based on
this concept, as I have had to do similar for one of my
clients:</div>
<div><br>
</div>
<div>
<div style="display: block;">
<div
style="-webkit-user-select: all; -webkit-user-drag: element; display: inline-block;"
class="apple-rich-link" draggable="true" role="link"
data-url="https://www.siliconbladeconsultants.com/articles/20260502-populate-partitions/"><a
style="border-radius:10px;font-family:-apple-system, Helvetica, Arial, sans-serif;display:block;-webkit-user-select:none;width:300px;user-select:none;-webkit-user-modify:read-only;user-modify:read-only;overflow:hidden;text-decoration:none;"
class="lp-rich-link" rel="nofollow"
href="https://www.siliconbladeconsultants.com/articles/20260502-populate-partitions/"
dir="ltr" role="button" draggable="false" width="300"
moz-do-not-send="true">
<table
style="table-layout:fixed;border-collapse:collapse;width:300px;background-color:#E5E6E9;font-family:-apple-system, Helvetica, Arial, sans-serif;"
class="lp-rich-link-emailBaseTable" cellpadding="0"
cellspacing="0" border="0" width="300">
<tbody>
<tr>
<td vertical-align="center">
<table bgcolor="#E5E6E9" cellpadding="0"
cellspacing="0" width="300"
style="font-family:-apple-system, Helvetica, Arial, sans-serif;table-layout:fixed;background-color:rgba(229, 230, 233, 1);"
class="lp-rich-link-captionBar">
<tbody>
<tr>
<td style="padding:8px 0px 8px 0px;"
class="lp-rich-link-captionBar-textStackItem">
<div
style="max-width:100%;margin:0px 16px 0px 16px;overflow:hidden;"
class="lp-rich-link-captionBar-textStack">
<div
style="word-wrap:break-word;font-weight:500;font-size:12px;overflow:hidden;text-overflow:ellipsis;text-align:left;"
class="lp-rich-link-captionBar-textStack-topCaption-leading"><a
rel="nofollow"
href="https://www.siliconbladeconsultants.com/articles/20260502-populate-partitions/"
style="text-decoration: none"
draggable="false"
moz-do-not-send="true"><font
color="#272727"
style="color: rgba(0, 0, 0, 0.847059);">Populating a Partition</font></a></div>
<div
style="word-wrap:break-word;font-weight:400;font-size:11px;overflow:hidden;text-overflow:ellipsis;text-align:left;"
class="lp-rich-link-captionBar-textStack-bottomCaption-leading"><a
rel="nofollow"
href="https://www.siliconbladeconsultants.com/articles/20260502-populate-partitions/"
style="text-decoration: none"
draggable="false"
moz-do-not-send="true"><font
color="#808080"
style="color: rgba(0, 0, 0, 0.498039);">siliconbladeconsultants.com</font></a></div>
</div>
</td>
<td style="padding:6px 12px 6px 0px;"
class="lp-rich-link-captionBar-rightIconItem" width="36"><a
rel="nofollow"
href="https://www.siliconbladeconsultants.com/articles/20260502-populate-partitions/"
draggable="false"
moz-do-not-send="true"><img
style="pointer-events:none !important;display:inline-block;width:36px;height:36px;border-radius:3px;"
width="36" height="36"
draggable="false"
class="lp-rich-link-captionBar-rightIcon" alt="favicon.ico"
src="cid:[email protected]"></a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</a></div>
</div>
<br id="lineBreakAtBeginningOfMessage">
<div>In essence, I create an ext4 image in my recipe and then
you can do whatever you need with it (such as for me - write
it to my wic file)</div>
</div>
</blockquote>
<p>What a nice coincidence... You just wrote that article!<br>
This sounds like a very simple and elegant solution for my
needs. I Actually just have a few files and scripts to drop in
this filesystem.</p>
</blockquote>
<p>I eventually used your idea to create a tar archive instead,
which I then fed to Toradex Easy Installer (that's what the
project currently used).<br>
That was a very simple and elegant solution. Thanks again!<br>
Cheers<br>
Michael.</p>
<pre class="moz-signature" cols="72">--
Root Commit
Embedded Linux Training and Consulting
<a class="moz-txt-link-freetext" href="https://rootcommit.com">https://rootcommit.com</a></pre>
</body>
</html>
--------------B9xcW2c5mslUW2juQv4Rgm0O
Content-Type: image/x-icon; name="favicon.ico"
Content-Disposition: inline; filename="favicon.ico"
Content-Id: <[email protected]>
Content-Transfer-Encoding: base64
iVBORw0KGgoAAAANSU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