编译 android10 后打包 genpac 报错
使用 python2.7 报错: gen emmc pac for sign images for vbmeta_emmc_desc: emmc_bpt_orig: vbmeta_sign_args:--algorithm SHA256_RSA2048 --key build3/buildsystem-x9-ptg3.8/res/tools/release/sign_tool//vbmeta/keys/vbmeta-user-key.pem --public_key_meta build3/buildsystem-x9-ptg3.8/res/tools/release/sign_tool//vbmeta/keys/vbmeta-user-rsa2048whitsha256-romtest.cer.chain vbmeta_emmc_out: cp: omitting directory 'lk/lk_customize/chipcfg/' VBMTEA_DESCIPTOR: INCLUDE_DESC: usage: avbtool make_vbmeta_image [-h] [--output OUTPUT] [--padding_size NUMBER] [--algorithm ALGORITHM] [--key KEY] [--signing_helper APP] [--signing_helper_with_files APP] [--public_key_metadata KEY_METADATA] [--rollback_index ROLLBACK_INDEX] [--append_to_release_string STR] [--prop KEY:VALUE] [--prop_from_file KEY:PATH] [--kernel_cmdline CMDLINE] [--setup_rootfs_from_kernel IMAGE] [--include_descriptors_from_image IMAGE] [--print_required_libavb_version] [--chain_partition PART_NAME:ROLLBACK_SLOT:KEY_PATH] [--flags FLAGS] [--set_hashtree_disabled_flag] avbtool make_vbmeta_image: error: argument --output: expected one argument Makefile:705: recipe for target 'gen_emmc_pac' failed make: *** [gen_emmc_pac] Error 1
使用 python3.x 报错: gen emmc pac for sign images for vbmeta_emmc_desc: emmc_bpt_orig: vbmeta_sign_args:--algorithm SHA256_RSA2048 --key /build3/buildsystem-x9-ptg3.8/res/tools/release/sign_tool//vbmeta/keys/vbmeta-user-key.pem --public_key_meta /build3/buildsystem-x9-ptg3.8/res/tools/release/sign_tool//vbmeta/keys/vbmeta-user-rsa2048whitsha256-romtest.cer.chain vbmeta_emmc_out: cp: omitting directory 'lk/lk_customize/chipcfg/' VBMTEA_DESCIPTOR: INCLUDE_DESC: File "/build3/buildsystem-x9-ptg3.8/res/tools/release/sign_tool/avbtool", line 410 b = 2L**32 ^ SyntaxError: invalid syntax Makefile:705: recipe for target 'gen_emmc_pac' failed make: *** [gen_emmc_pac] Error 1