All of lore.kernel.org
 help / color / mirror / Atom feed
* Simple solution to create a non-root partition image?
@ 2026-05-03 20:40 Michael Opdenacker
  2026-05-04  8:47 ` [yocto] " Quentin Schulz
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Michael Opdenacker @ 2026-05-03 20:40 UTC (permalink / raw)
  To: Yocto-mailing-list; +Cc: michael.opdenacker

Greetings,

For an ongoing project with a read-only root filesystem, I'd like to 
create an image for a non-root partition.

To give you some context, this partition would contain data and scripts 
to be used at first boot to do per device provisioning work. Some of 
these would be removed after provisioning, as they could tip attackers 
about how secrets are stored if they get their hands on devices that 
haven't been provisioned yet. Hence, these cannot be in the read-only 
root filesystem.

To create such an image, I tried to create a new image recipe inheriting 
the "image" class, and then install some packages into the image with a 
"local" IMAGE_INSTALL list.

This seems it could work, but I'm struggling with removing dependencies 
(bootloader, kernel, etc) that are only relevant for a root filesystem 
image.

Would there be a simpler way to create a non root partition image?

Thanks in advance
Cheers
Michael.


-- 
Root Commit
Embedded Linux Training and Consulting
https://rootcommit.com



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2026-05-14 16:45 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
     [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

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.