]> code.ossystems Code Review - openembedded-core.git/commit
wic: Move validation of --ptable option to wks parser
authorEd Bartosh <ed.bartosh@linux.intel.com>
Fri, 5 Jun 2015 09:54:08 +0000 (12:54 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 11 Jun 2015 22:55:40 +0000 (23:55 +0100)
commitb812d0f40423bc56394cc8b6fc92eb1f477dba1b
tree09b0c8c596829f712cddbca8486ab1bfa6d2ab02
parente21e31b48b20bf2f8a7733c52b436a65c27de8aa
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.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/wic/kickstart/custom_commands/micboot.py
scripts/lib/wic/plugins/source/bootimg-efi.py
scripts/lib/wic/plugins/source/bootimg-pcbios.py
scripts/lib/wic/plugins/source/rootfs_pcbios_ext.py
scripts/lib/wic/utils/partitionedfs.py