AOSP building: replace my own keys with default test-keys

后端 未结 2 1444
野性不改
野性不改 2021-01-27 02:01

I am building AOSP and I want to sign the build with my own key. There is some official doc about this process here.

But I wonder if I can simply turn around all of that

2条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-27 02:40

    One suggestion:

    If you don't want to keep your private keys in source control together with the aosp code, you can define a path to them in your device mk:

    PRODUCT_DEFAULT_DEV_CERTIFICATE :=  /home/my_user/release_keys_folder/releasekey
    PRODUCT_VERITY_SIGNING_KEY := /home/my_user/release_keys_folder/verity
    

提交回复
热议问题