diff options
Diffstat (limited to 'scripts/lib/mic/plugins/source/bootimg-pcbios.py')
-rw-r--r-- | scripts/lib/mic/plugins/source/bootimg-pcbios.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/mic/plugins/source/bootimg-pcbios.py b/scripts/lib/mic/plugins/source/bootimg-pcbios.py index 53ed7c3195..959cf411bf 100644 --- a/scripts/lib/mic/plugins/source/bootimg-pcbios.py +++ b/scripts/lib/mic/plugins/source/bootimg-pcbios.py | |||
@@ -62,7 +62,7 @@ class BootimgPcbiosPlugin(SourcePlugin): | |||
62 | rc = runner.show(['dd', 'if=%s' % mbrfile, | 62 | rc = runner.show(['dd', 'if=%s' % mbrfile, |
63 | 'of=%s' % full_path, 'conv=notrunc']) | 63 | 'of=%s' % full_path, 'conv=notrunc']) |
64 | if rc != 0: | 64 | if rc != 0: |
65 | raise MountError("Unable to set MBR to %s" % full_path) | 65 | raise ImageError("Unable to set MBR to %s" % full_path) |
66 | 66 | ||
67 | @classmethod | 67 | @classmethod |
68 | def do_configure_partition(self, part, cr, cr_workdir, oe_builddir, | 68 | def do_configure_partition(self, part, cr, cr_workdir, oe_builddir, |
@@ -107,7 +107,7 @@ class BootimgPcbiosPlugin(SourcePlugin): | |||
107 | if cr._ptable_format == 'msdos': | 107 | if cr._ptable_format == 'msdos': |
108 | rootstr = rootdev | 108 | rootstr = rootdev |
109 | else: | 109 | else: |
110 | raise MountError("Unsupported partition table format found") | 110 | raise ImageError("Unsupported partition table format found") |
111 | 111 | ||
112 | syslinux_conf += "APPEND label=boot root=%s %s\n" % (rootstr, options) | 112 | syslinux_conf += "APPEND label=boot root=%s %s\n" % (rootstr, options) |
113 | 113 | ||