diff options
author | xiaojuan.mao <xiaojuan.mao@samsung.com> | 2017-04-07 15:08:40 +0800 |
---|---|---|
committer | xiaojuan.mao <xiaojuan.mao@samsung.com> | 2017-07-13 11:17:43 +0800 |
commit | 58861e311fe45272929b7db7939e76dba789a707 (patch) | |
tree | c75a24d8be2215c85b9623b7da95cd585bded638 /tools | |
parent | b4e557cdfbef38dbc23d3a37265e8eec060596ac (diff) | |
download | mic-58861e311fe45272929b7db7939e76dba789a707.tar.gz mic-58861e311fe45272929b7db7939e76dba789a707.tar.bz2 mic-58861e311fe45272929b7db7939e76dba789a707.zip |
Use cpio gzip in mic.
Change-Id: Ifce99807698d3a35fd3dddcdf8f9d60f4c2bb22c
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/mic | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -54,7 +54,7 @@ def chroot_parser(parser): help = "command which will be executed in chroot environment") parser.set_defaults(alias="ch") return parser - + @subparser def create_parser(parser): """create an image @@ -64,15 +64,18 @@ def create_parser(parser): """ parent_parser = ArgumentParser(add_help=False) - parent_parser.add_argument('ksfile', help='Path of ksfile'); + parent_parser.add_argument('--cpio', action='store_true', + dest='cpio', default=False, + help='Use cpio to generate image') + parent_parser.add_argument('ksfile', help='Path of ksfile') parent_parser.add_argument('--logfile', dest='logfile', default=None, help='Path of logfile') parent_parser.add_argument('-c', '--config', dest='config', default=None, - help='Specify config file for mic') + help='Specify config file for mic') parent_parser.add_argument('-k', '--cachedir', action='store', dest='cachedir', default=None, help='Cache directory to store the downloaded') - parent_parser.add_argument('-o', '--outdir', action='store', dest='outdir', + parent_parser.add_argument('-o', '--outdir', action='store', dest='outdir', default=None, help='Output directory') parent_parser.add_argument('-A', '--arch', dest='arch', default=None, help='Specify repo architecture') |