diff options
Diffstat (limited to 'scripts/lib/wic/plugins/source/bootimg-pcbios.py')
-rw-r--r-- | scripts/lib/wic/plugins/source/bootimg-pcbios.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/lib/wic/plugins/source/bootimg-pcbios.py b/scripts/lib/wic/plugins/source/bootimg-pcbios.py index c28b9af036..ab62b7a9e9 100644 --- a/scripts/lib/wic/plugins/source/bootimg-pcbios.py +++ b/scripts/lib/wic/plugins/source/bootimg-pcbios.py | |||
@@ -46,6 +46,10 @@ class BootimgPcbiosPlugin(SourcePlugin): | |||
46 | mbrfile = "%s/syslinux/" % bootimg_dir | 46 | mbrfile = "%s/syslinux/" % bootimg_dir |
47 | if cr._ptable_format == 'msdos': | 47 | if cr._ptable_format == 'msdos': |
48 | mbrfile += "mbr.bin" | 48 | mbrfile += "mbr.bin" |
49 | elif cr._ptable_format == 'gpt': | ||
50 | mbrfile += "gptmbr.bin" | ||
51 | else: | ||
52 | msger.error("Unsupported partition table: %s" % cr._ptable_format) | ||
49 | 53 | ||
50 | if not os.path.exists(mbrfile): | 54 | if not os.path.exists(mbrfile): |
51 | msger.error("Couldn't find %s. If using the -e option, do you have the right MACHINE set in local.conf? If not, is the bootimg_dir path correct?" % mbrfile) | 55 | msger.error("Couldn't find %s. If using the -e option, do you have the right MACHINE set in local.conf? If not, is the bootimg_dir path correct?" % mbrfile) |