The commit you're reffering to is absent: 
https://git.yoctoproject.org/poky/commit/?id=7aa678ce804c21dc1dc51b9be442671bc33c4041
It does not exist either in poky-contrib and on github.

BTW I've sent you the snippet from systemd build which shows that swap 
partition is still being used despite missing fstab entry.

My question does not imply that I'm not happy with the patch as direct imager 
plugin will properly handle swap partition.
Thanks!

--

With best wishes,
[cid:a53ddc99b68f01a67a57538e872ae6389339d5ed.camel@yadro.com-0]        Sergei 
Zhmylev
Engineering consultant
OS development department







В Пт, 28/10/2022 в 13:30 +0100, ciaran.court...@activeenergy.ie пишет:
«Внимание! Данное письмо от внешнего адресата!»

From: ciarancourtney 
<ciaran.court...@activeenergy.ie<mailto:ciaran.court...@activeenergy.ie>>

- Regression in 7aa678ce804c21dc1dc51b9be442671bc33c4041


Signed-off-by: Ciaran Courtney 
<ciaran.court...@activeenergy.ie<mailto:ciaran.court...@activeenergy.ie>>
---
 scripts/lib/wic/plugins/imager/direct.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

             if part.use_uuid:
--
2.34.1




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#172255): 
https://lists.openembedded.org/g/openembedded-core/message/172255
Mute This Topic: https://lists.openembedded.org/mt/94623104/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to