Lines Matching refs:args
101 def build_image(args): argument
103 if args.sparse_image:
105 if args.build_image_tools_path:
106 env_path = ':'.join(args.build_image_tools_path)
108 src_dir = args.input_path
109 device = args.output_image_path
111 if "ext4" == args.fs_type:
114 elif "f2fs" == args.fs_type:
117 elif "cpio" == args.fs_type:
126 dac_config = args.dac_config
127 file_context = args.file_context
135 if args.pubkey:
136 sign_img(device, args.pubkey, args.privkey, args.output_sign_image_path)
158 args = parser.parse_args(argv)
160 if os.path.exists(args.output_image_path):
161 os.remove(args.output_image_path)
162 if os.path.isdir(args.input_path):
163 build_image(args)