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: 8fdb75c0f0f7458305ccae657cf2722520e00572) 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
d8917f76bc
commit
c35857bd24
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user