On Fri, 2026-05-22 at 06:59 +0200, Aleksandar Nikolic via
lists.openembedded.org wrote:
> From: Aleksandar Nikolic <[email protected]>
> 
> In case wks file references nvme0n1, update_fstab() function creates wrong 
> entries
> in /etc/fstab, as it is not adding prefix 'p' before the partition number (at 
> the
> moment this happens only for mmcblk). This leads that entries in /etc/fstab 
> start
> with:
> 
>     /dev/nvme0n11
>     /dev/nvme0n13
> 
> instead with:
> 
>     /dev/nvme0n1p1
>     /dev/nvme0n1p3
> 
> The patch fixes this as it extends the if condition and adds prefix 'p' for
> both mmcblk and nvme0n1.

This is an interesting case for our backport policy, as wic is no longer
embedded within OE-core on wrynose or master. However, I think this
should be submitted against the standalone wic repository first (see the
readme [1] for contributing instructions) and we should get feedback
from the maintainer.

[1]: https://git.yoctoproject.org/wic/tree/README.md?h=master

This should also handle other NVMe devices beyond the first, what about
/dev/nvme1n1? Or an NVMe device with a second namespace /dev/nvme1n2?

Best regards,

-- 
Paul Barker

Attachment: signature.asc
Description: This is a digitally signed message part

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#237541): 
https://lists.openembedded.org/g/openembedded-core/message/237541
Mute This Topic: https://lists.openembedded.org/mt/119436831/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to