Hi Ciaran, Thank you for the patch! What for do you need swap in fstab? It works perfectly out of the box without fstab entry:
root@genericx86-64<mailto:root@genericx86-64>:~# grep swap /etc/fstab root@genericx86-64<mailto:root@genericx86-64>:~# cat /proc/swaps Filename Type Size Used Priority /dev/vda3 partition 45052 0 -2 -- With best wishes, [cid:0ffef82130c00293042be5d146c47e92e7c19b2b.camel@yadro.com-0] Sergei Zhmylev Engineering consultant OS development department В Пт, 28/10/2022 в 11:05 +0100, ciaran.court...@activeenergy.ie пишет: «Внимание! Данное письмо от внешнего адресата!» From: ciarancourtney <ciaran.court...@activeenergy.ie<mailto:ciaran.court...@activeenergy.ie>> - Regression in 7aa678ce804c21dc1dc51b9be442671bc33c4041 Signed-off-by: ciarancourtney <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 (#172250): https://lists.openembedded.org/g/openembedded-core/message/172250 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] -=-=-=-=-=-=-=-=-=-=-=-