mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
wic: Rename MountError
wic doesn't mount anything, so can't have a mount error; rename it to something more appropriate. (From OE-Core rev: e1edee656fc9c0a791c0eb62796d1afa483be34e) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
312479cf07
commit
ff1aa2358e
@@ -77,7 +77,7 @@ class BootimgEFIPlugin(SourcePlugin):
|
||||
if cr._ptable_format == 'msdos':
|
||||
rootstr = rootdev
|
||||
else:
|
||||
raise MountError("Unsupported partition table format found")
|
||||
raise ImageError("Unsupported partition table format found")
|
||||
|
||||
grubefi_conf += "linux %s root=%s rootwait %s\n" \
|
||||
% (kernel, rootstr, options)
|
||||
|
||||
@@ -62,7 +62,7 @@ class BootimgPcbiosPlugin(SourcePlugin):
|
||||
rc = runner.show(['dd', 'if=%s' % mbrfile,
|
||||
'of=%s' % full_path, 'conv=notrunc'])
|
||||
if rc != 0:
|
||||
raise MountError("Unable to set MBR to %s" % full_path)
|
||||
raise ImageError("Unable to set MBR to %s" % full_path)
|
||||
|
||||
@classmethod
|
||||
def do_configure_partition(self, part, cr, cr_workdir, oe_builddir,
|
||||
@@ -107,7 +107,7 @@ class BootimgPcbiosPlugin(SourcePlugin):
|
||||
if cr._ptable_format == 'msdos':
|
||||
rootstr = rootdev
|
||||
else:
|
||||
raise MountError("Unsupported partition table format found")
|
||||
raise ImageError("Unsupported partition table format found")
|
||||
|
||||
syslinux_conf += "APPEND label=boot root=%s %s\n" % (rootstr, options)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user