Re: overlayfs-etc on top of dm-verity?
Michael Opdenacker <[email protected]> Thu, 26 Mar 2026 17:41:07 +0000 (UTC)
| Newsgroups | org.yoctoproject.lists.yocto |
|---|---|
| Message-ID | <[email protected]> |
Greetings, So follow-up on this issue... On 3/26/26 10:56 AM, Michael Opdenacker wrote: > > > On 3/25/26 10:20 PM, Michael Opdenacker wrote: > > I eventually managed to get /etc mounted as an overlay. It seems that > /sbin/init was started instead of /sbin/preinit as specified in the > kernel command line. > I hardcoded the call to /sbin/preinit by customizing > openembedded-core/meta/recipes-core/initrdscripts/initramfs-framework/finish > (in a bbappend file, of course). > > The code looks right though, I need to understand why this happens. The issue (the initramfs scripts not calling the init script specified in the kernel command line) was caused by an issue with kernel parameters like: opt="value", that happen when you use the kernel's "bootconfig" configuration options. This fix I've just submitted solves the issue: https://lore.kernel.org/openembedded-core/[email protected]/T/#u Cheers Michael. Root Commit Embedded Linux Training and Consulting https://rootcommit.com