Set default Container type to CLASSIC (#413)
Container parse logic cannot handle NORMAL (default) case currently. So, if -t option is not used while generating a Container, unsupported image type is reported during runtime. Change the default type to CLASSIC, and end-user can use -t option to switch to MULTIBOOT if needed. Signed-off-by: Sai Talamudupula <sai.kiran.talamudupula@intel.com>
This commit is contained in:
parent
d7b6378e75
commit
fc1d53d387
|
@ -696,7 +696,7 @@ def main():
|
|||
# '-l' or '-cl', one of them is mandatory
|
||||
group.add_argument('-l', dest='layout', type=str, help='Container layout intput file if no -cl')
|
||||
group.add_argument('-cl', dest='comp_list',nargs='+', help='List of each component files, following XXXX:FileName format')
|
||||
cmd_display.add_argument('-t', dest='img_type', type=str, default='NORMAL', help='Container Image Type : [NORMAL, CLASSIC, MULTIBOOT]')
|
||||
cmd_display.add_argument('-t', dest='img_type', type=str, default='CLASSIC', help='Container Image Type : [NORMAL, CLASSIC, MULTIBOOT]')
|
||||
cmd_display.add_argument('-o', dest='out_path', type=str, default='.', help='Container output directory/file')
|
||||
cmd_display.add_argument('-k', dest='key_path', type=str, default='', help='Input key directory/file')
|
||||
cmd_display.add_argument('-cd', dest='comp_dir', type=str, default='', help='Componet image input directory')
|
||||
|
|
Loading…
Reference in New Issue