summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaptain Throwback <captainthrowback@hotmail.com>2017-03-07 18:07:40 +0100
committerCaptain Throwback <captainthrowback@hotmail.com>2017-03-07 18:10:20 +0100
commit3184b2f73919eef4b1c1bf0c92f25c8d9b7f3536 (patch)
treee89da356c47a525bb2d16ea438294cd6bbf2dc18
parentvold_decrypt: Add back missing xml and get rid of compiler warning (diff)
downloadandroid_bootable_recovery-3184b2f73919eef4b1c1bf0c92f25c8d9b7f3536.tar
android_bootable_recovery-3184b2f73919eef4b1c1bf0c92f25c8d9b7f3536.tar.gz
android_bootable_recovery-3184b2f73919eef4b1c1bf0c92f25c8d9b7f3536.tar.bz2
android_bootable_recovery-3184b2f73919eef4b1c1bf0c92f25c8d9b7f3536.tar.lz
android_bootable_recovery-3184b2f73919eef4b1c1bf0c92f25c8d9b7f3536.tar.xz
android_bootable_recovery-3184b2f73919eef4b1c1bf0c92f25c8d9b7f3536.tar.zst
android_bootable_recovery-3184b2f73919eef4b1c1bf0c92f25c8d9b7f3536.zip
-rw-r--r--Android.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/Android.mk b/Android.mk
index 4b29e47f8..335a2d42d 100644
--- a/Android.mk
+++ b/Android.mk
@@ -485,7 +485,7 @@ endif
endif
ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 25; echo $$?),0)
- LOCAL_ADDITIONAL_DEPENDENCIES += file_contexts_symlink
+ LOCAL_ADDITIONAL_DEPENDENCIES += file_contexts_text
endif
ifeq ($(BOARD_CACHEIMAGE_PARTITION_SIZE),)
@@ -497,11 +497,11 @@ include $(BUILD_EXECUTABLE)
# Symlink for file_contexts
include $(CLEAR_VARS)
-LOCAL_MODULE := file_contexts_symlink
+LOCAL_MODULE := file_contexts_text
LOCAL_MODULE_TAGS := optional
+LOCAL_REQUIRED_MODULES := file_contexts.bin
LOCAL_POST_INSTALL_CMD := \
- $(hide) mkdir -p $(TARGET_RECOVERY_ROOT_OUT)/sbin && \
- ln -sf /file_contexts.bin $(TARGET_RECOVERY_ROOT_OUT)/file_contexts
+ $(hide) cp -f $(OUT)/obj/ETC/file_contexts.bin_intermediates/file_contexts.concat.tmp $(TARGET_RECOVERY_ROOT_OUT)/file_contexts
include $(BUILD_PHONY_PACKAGE)