------------- LA.UM.7.6.2/LINUX/android/build/make/core/Makefile -------------- index f4e7398..7dcf753 100755 @@ -222,6 +222,6 @@ endif ?# Both of these tags will be removed and replaced with "release-keys" ?# when the target-files is signed in a post-build step. -ifeq ($(DEFAULT_SYSTEM_DEV_CERTIFICATE),build/target/product/security/testkey) -BUILD_KEYS := test-keys +ifeq ($(DEFAULT_SYSTEM_DEV_CERTIFICATE),build/target/product/security/releasekey) +BUILD_KEYS := release-keys ?else ?BUILD_KEYS := dev-keys
------------- LA.UM.7.6.2/LINUX/android/build/make/core/config.mk ------------- old mode 100644 new mode 100755 index 1d2617e..96e186d @@ -883,5 +883,5 @@ ifdef PRODUCT_DEFAULT_DEV_CERTIFICATE ? ?DEFAULT_SYSTEM_DEV_CERTIFICATE := $(PRODUCT_DEFAULT_DEV_CERTIFICATE) ?else - ?DEFAULT_SYSTEM_DEV_CERTIFICATE := build/target/product/security/testkey + ?DEFAULT_SYSTEM_DEV_CERTIFICATE := build/target/product/security/releasekey ?endif
------------- LA.UM.7.6.2/LINUX/android/system/sepolicy/Android.mk ------------- old mode 100644 new mode 100755 index f0c6a64..b75dc00 @@ -1459,6 +1459,8 @@ $(plat_mac_perms_keys.tmp): $(call build_policy, keys.conf, $(PLAT_PRIVATE_POLIC ?all_plat_mac_perms_files := $(call build_policy, mac_permissions.xml, $(PLAT_PRIVATE_POLICY)) ? +$(warning DEFAULT_SYSTEM_DEV_CERTIFICATE is ?$(DEFAULT_SYSTEM_DEV_CERTIFICATE)) + ?# Should be synced with keys.conf. -all_plat_keys := platform media shared testkey +all_plat_keys := platform media shared releasekey ?all_plat_keys := $(all_keys:%=$(dir $(DEFAULT_SYSTEM_DEV_CERTIFICATE))/%.x509.pem) ?
--------- LA.UM.7.6.2/LINUX/android/system/sepolicy/private/keys.conf --------- index 7a307b5..efe8dda 100644 @@ -20,6 +20,6 @@ ALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/shared.x509.pem ?# Example of ALL TARGET_BUILD_VARIANTS ?[@RELEASE] -ENG ? ? ? : $DEFAULT_SYSTEM_DEV_CERTIFICATE/testkey.x509.pem -USER ? ? ?: $DEFAULT_SYSTEM_DEV_CERTIFICATE/testkey.x509.pem -USERDEBUG : $DEFAULT_SYSTEM_DEV_CERTIFICATE/testkey.x509.pem +ENG ? ? ? : $DEFAULT_SYSTEM_DEV_CERTIFICATE/releasekey.x509.pem +USER ? ? ?: $DEFAULT_SYSTEM_DEV_CERTIFICATE/releasekey.x509.pem +USERDEBUG : $DEFAULT_SYSTEM_DEV_CERTIFICATE/releasekey.x509.pem
|