mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
wic: swap partitions are not added to fstab
- Regression in 7aa678ce804c21dc1dc51b9be442671bc33c4041 (From OE-Core rev: ce99d451a54b8ce46b7f9030deaba86355009b1a) Signed-off-by: Ciaran Courtney <ciaran.courtney@activeenergy.ie> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit f1243572ad6b6303fe562e4eb7a9826fd51ea3c3) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c3c1224664
commit
ef1a755b3c
@@ -115,7 +115,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:
|
||||
|
||||
Reference in New Issue
Block a user