diff options
| author | ciarancourtney <ciaran.courtney@activeenergy.ie> | 2022-10-28 13:30:50 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-11-14 15:59:15 +0000 |
| commit | c35857bd24ef13bd5c5dcc12d6e4c33e831eb6ab (patch) | |
| tree | 38e982190297f67c56b99a279673abeae8c7ca3a /scripts/lib | |
| parent | d8917f76bc2a39be523fa9232ee2c3bdb1cc53b9 (diff) | |
| download | poky-c35857bd24ef13bd5c5dcc12d6e4c33e831eb6ab.tar.gz | |
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>
Diffstat (limited to 'scripts/lib')
| -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 3e766972b4..67dc56d4ff 100644 --- a/scripts/lib/wic/plugins/imager/direct.py +++ b/scripts/lib/wic/plugins/imager/direct.py | |||
| @@ -117,7 +117,7 @@ class DirectPlugin(ImagerPlugin): | |||
| 117 | updated = False | 117 | updated = False |
| 118 | for part in self.parts: | 118 | for part in self.parts: |
| 119 | if not part.realnum or not part.mountpoint \ | 119 | if not part.realnum or not part.mountpoint \ |
| 120 | or part.mountpoint == "/" or not part.mountpoint.startswith('/'): | 120 | or part.mountpoint == "/" or not (part.mountpoint.startswith('/') or part.mountpoint == "swap"): |
| 121 | continue | 121 | continue |
| 122 | 122 | ||
| 123 | if part.use_uuid: | 123 | if part.use_uuid: |
