Merge "init: always create a symlink from /init to /system/bin/init"

This commit is contained in:
Tom Cherry 2018-11-29 23:22:58 +00:00 committed by Gerrit Code Review
commit ac3c7740ad

View file

@ -104,9 +104,7 @@ LOCAL_MODULE := init_system
LOCAL_REQUIRED_MODULES := \
init_second_stage \
ifeq ($(BOARD_BUILD_SYSTEM_ROOT_IMAGE),true)
LOCAL_POST_INSTALL_CMD := ln -sf /system/bin/init $(TARGET_ROOT_OUT)/init
endif
include $(BUILD_PHONY_PACKAGE)
include $(CLEAR_VARS)