mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 09:49:32 +02:00
wic: Move validation of --ptable option to wks parser
bootloader --ptable option has two valid choices: gpt and msdos Moved this check to wks parser by changing option type to 'choice'. Removed similar checks from 5 other places. (From OE-Core rev: b812d0f40423bc56394cc8b6fc92eb1f477dba1b) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
69bbf80c8d
commit
d59d876f44
@@ -122,10 +122,6 @@ class Image(object):
|
||||
|
||||
msger.debug("Assigning %s partitions to disks" % ptable_format)
|
||||
|
||||
if ptable_format not in ('msdos', 'gpt'):
|
||||
raise ImageError("Unknown partition table format '%s', supported " \
|
||||
"formats are: 'msdos'" % ptable_format)
|
||||
|
||||
if self._partitions_layed_out:
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user