diff options
author | ciarancourtney <ciaran.courtney@activeenergy.ie> | 2022-10-28 13:30:50 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-11-20 08:19:10 +0000 |
commit | ef1a755b3c3d0253ba073592ae4751c1fde19e29 (patch) | |
tree | e9b7c1d4be16f6f1f24f95f2563c9f85d1633b07 /scripts | |
parent | c3c122466455ea4592d4bef2de2dd7163bc49c85 (diff) | |
download | poky-ef1a755b3c3d0253ba073592ae4751c1fde19e29.tar.gz |
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>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/wic/plugins/imager/direct.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/plugins/imager/direct.py b/scripts/lib/wic/plugins/imager/direct.py index 2505c13fce..42704d1e10 100644 --- a/scripts/lib/wic/plugins/imager/direct.py +++ b/scripts/lib/wic/plugins/imager/direct.py | |||
@@ -115,7 +115,7 @@ class DirectPlugin(ImagerPlugin): | |||
115 | updated = False | 115 | updated = False |
116 | for part in self.parts: | 116 | for part in self.parts: |
117 | if not part.realnum or not part.mountpoint \ | 117 | if not part.realnum or not part.mountpoint \ |
118 | or part.mountpoint == "/" or not part.mountpoint.startswith('/'): | 118 | or part.mountpoint == "/" or not (part.mountpoint.startswith('/') or part.mountpoint == "swap"): |
119 | continue | 119 | continue |
120 | 120 | ||
121 | if part.use_uuid: | 121 | if part.use_uuid: |