init: always create a symlink from /init to /system/bin/init
Even though it isn't strictly needed when not system-as-root, for backwards compatibility, it is desired to keep this symlink. Bug: 119851742 Test: tree-hugger Change-Id: I47bc25ab257336f56ef09b5db6ebaf6b17daad35
This commit is contained in:
parent
3ecaf2e7f5
commit
9843007327
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue