diff options
-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 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): | |||
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: |