[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    Re: [OE-core] [PATCH] wic/direct/ksparser: ensure fsuuid for vfat and msdos align with format
From:       "Richard Purdie" <richard.purdie () linuxfoundation ! org>
Date:       2020-12-30 16:05:47
Message-ID: e392eb99f3d142698d2485cb4c31395048f07186.camel () linuxfoundation ! org
[Download RAW message or body]

On Wed, 2020-12-30 at 14:17 +0800, Lee Chee Yang wrote:
From: Lee Chee Yang <chee.yang.lee@intel.com>

vfat/msdos filesystem should have fsuuid in format 0xYYYYYYYY where
"0x"
in front follow with 8 hexadecimal number in uppercase. In wic, when
using
custom fsuuid for vfat/msdos partition in wks, it is able to set the
value
in any length, with or without leading "0x". This can cause fsuuid
missaligned when fstab updates, fstab expect exactly 10 character
fsuuid for vfat/msdos partition and all in uppercase.

if custom fsuuid for vfat/msdos is set, check the length and format,
error if it exceed the format size. Amend it so it is align with format
0xYYYYYYYY. This is done before image create and fstab update to ensure
the
fsuuid are same in all followup process. if custom fsuuid length less
than
expected, fill in "0".

[yocto #14161]

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>

There is something not quite right in this change:

https://autobuilder.yoctoproject.org/typhoon/#/builders/23/builds/3109

Cheers,

Richard



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#146312): https://lists.openembedded.org/g/openembedded-core/message/146312
Mute This Topic: https://lists.openembedded.org/mt/79307967/4454766
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [openembedded-core@marc.info]
-=-=-=-=-=-=-=-=-=-=-=-



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic