From 50acc66276c518b3fcdd85445bfe1def360340cf Mon Sep 17 00:00:00 2001 From: "goodway.wang_cp" Date: Wed, 10 Mar 2021 21:11:48 +0800 Subject: [PATCH] Do not pack symbolic link instead copying Change-Id: I43f56276541addfd6063655e53f21fe483780bc1 Signed-off-by: goodway.wang_cp --- target/product/security/Android.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/product/security/Android.mk b/target/product/security/Android.mk index 83f0a4bc13..cedad5b490 100644 --- a/target/product/security/Android.mk +++ b/target/product/security/Android.mk @@ -65,7 +65,7 @@ LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/security include $(BUILD_SYSTEM)/base_rules.mk $(LOCAL_BUILT_MODULE): PRIVATE_CERT := $(DEFAULT_SYSTEM_DEV_CERTIFICATE).x509.pem $(LOCAL_BUILT_MODULE): $(SOONG_ZIP) $(DEFAULT_SYSTEM_DEV_CERTIFICATE).x509.pem - $(SOONG_ZIP) -o $@ -j -f $(PRIVATE_CERT) + $(SOONG_ZIP) -o $@ -j -symlinks=false -f $(PRIVATE_CERT) ####################################### @@ -88,5 +88,5 @@ $(LOCAL_BUILT_MODULE): \ $(SOONG_ZIP) \ $(DEFAULT_SYSTEM_DEV_CERTIFICATE).x509.pem \ $(extra_recovery_keys) - $(SOONG_ZIP) -o $@ -j \ + $(SOONG_ZIP) -o $@ -j -symlinks=false \ $(foreach key_file, $(PRIVATE_CERT) $(PRIVATE_EXTRA_RECOVERY_KEYS), -f $(key_file))