diff options
Diffstat (limited to 'scripts/lib/wic/plugins/source/bootimg-pcbios.py')
-rw-r--r-- | scripts/lib/wic/plugins/source/bootimg-pcbios.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/plugins/source/bootimg-pcbios.py b/scripts/lib/wic/plugins/source/bootimg-pcbios.py index 9c638554c0..c28b9af036 100644 --- a/scripts/lib/wic/plugins/source/bootimg-pcbios.py +++ b/scripts/lib/wic/plugins/source/bootimg-pcbios.py | |||
@@ -100,7 +100,7 @@ class BootimgPcbiosPlugin(SourcePlugin): | |||
100 | kernel = "/vmlinuz" | 100 | kernel = "/vmlinuz" |
101 | syslinux_conf += "KERNEL " + kernel + "\n" | 101 | syslinux_conf += "KERNEL " + kernel + "\n" |
102 | 102 | ||
103 | if cr._ptable_format == 'msdos': | 103 | if cr._ptable_format in ('msdos', 'gpt'): |
104 | rootstr = rootdev | 104 | rootstr = rootdev |
105 | else: | 105 | else: |
106 | raise ImageError("Unsupported partition table format found") | 106 | raise ImageError("Unsupported partition table format found") |