Yes. With the patch the warning disappears from dmesg

Am Mi, 27. Jul 2022 um 15:44:48 +0000 schrieb Ross Burton <[email protected]>:
This looks like a fix for <https://bugzilla.yoctoproject.org/show_bug.cgi?id=14865>, can you confirm that?

Ross

On 27 Jul 2022, at 14:45, Markus Volk via lists.openembedded.org <[email protected] <mailto:[email protected]>> wrote:

We already have a root entry in fstab. This commit prevents processing root mountpoint in fstab_updater and thus avoids duplicate entries for root in fstab.

Signed-off-by: Markus Volk <[email protected] <mailto:[email protected]>>
 ---
 scripts/lib/wic/plugins/imager/direct.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/lib/wic/plugins/imager/direct.py b/scripts/lib/wic/plugins/imager/direct.py
 index c44159b235..75004ab320 100644
 --- a/scripts/lib/wic/plugins/imager/direct.py
 +++ b/scripts/lib/wic/plugins/imager/direct.py
 @@ -117,7 +117,8 @@ class DirectPlugin(ImagerPlugin):
         updated = False
         for part in self.parts:
             if not part.realnum or not part.mountpoint \
 -               or not part.mountpoint.startswith('/'):
 +               or not part.mountpoint.startswith('/') \
 +               or part.mountpoint == "/":
                 continue

             if part.use_uuid:
 --
 2.34.1









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

Reply via email to