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 35fff7c102..4d0b836ef6 100644 --- a/scripts/lib/wic/plugins/imager/direct.py +++ b/scripts/lib/wic/plugins/imager/direct.py | |||
@@ -259,7 +259,7 @@ class DirectPlugin(ImagerPlugin): | |||
259 | if part.mountpoint == "/": | 259 | if part.mountpoint == "/": |
260 | if part.uuid: | 260 | if part.uuid: |
261 | return "PARTUUID=%s" % part.uuid | 261 | return "PARTUUID=%s" % part.uuid |
262 | elif part.label: | 262 | elif part.label and self.ptable_format != 'msdos': |
263 | return "PARTLABEL=%s" % part.label | 263 | return "PARTLABEL=%s" % part.label |
264 | else: | 264 | else: |
265 | suffix = 'p' if part.disk.startswith('mmcblk') else '' | 265 | suffix = 'p' if part.disk.startswith('mmcblk') else '' |