commit | b771593b6c15b00b838febe8f19d148296c70c44 | [log] [tgz] |
---|---|---|
author | Bowgo Tsai <bowgotsai@google.com> | Mon Mar 21 17:19:56 2022 +0800 |
committer | Bowgo Tsai <bowgotsai@google.com> | Mon Mar 21 17:38:13 2022 +0800 |
tree | 6ff801ef947e13298dd5c9f26ce74d5ff2426626 | |
parent | 67def5e80a68acfbb9b25e932328dff0fcbbbcb2 [diff] |
certify_bootimg: support spaces in extra_args Using shlex.split() to split extra_args in shell-like syntax instead of str.split(). An usage example: certify_bootimg --boot_img boot.img \ --algorithm SHA256_RSA4096 \ --key external/avb/test/data/testkey_rsa4096.pem \ --extra_args "--prop gki:nice" \ --extra_args '--prop space:"nice to meet you"' \ --output boot-certified.img Bug: 223288963 Test: atest --host certify_bootimg_test Change-Id: I0dd195fa7580016c2e5b4ac8ab0cb4d1ebc74fac