From f75d7fa8eafc353413d8371ba235fe007bf904cf Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Thu, 23 Mar 2017 13:09:21 -0700 Subject: [PATCH] Ensure /system/vendor symlink exists in target-files-package This used to happen in the system image creation, but the target-files didn't really depend on the system image, so I removed that dependency. But then we weren't creating the symlink all the time. This should be safe to run in parallel with the same link step in the system creation. Bug: 36540023 Test: m -j target-files-package, ensure vendor symlink is created without system.img. Change-Id: I37059fa1ce759a0870dc4c65c5515050992245e2 --- core/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/core/Makefile b/core/Makefile index 314879246..3a0d343ec 100644 --- a/core/Makefile +++ b/core/Makefile @@ -1958,6 +1958,7 @@ $(BUILT_TARGET_FILES_PACKAGE): \ $(BUILD_IMAGE_SRCS) \ | $(ACP) @echo "Package target files: $@" + $(call create-system-vendor-symlink) $(hide) rm -rf $@ $@.list $(zip_root) $(hide) mkdir -p $(dir $@) $(zip_root) ifneq (,$(INSTALLED_RECOVERYIMAGE_TARGET)$(filter true,$(BOARD_USES_RECOVERY_AS_BOOT)))