From 984300732710f50359be4f8f8562d27a0f46bcaa Mon Sep 17 00:00:00 2001 From: Tom Cherry Date: Thu, 29 Nov 2018 09:39:30 -0800 Subject: [PATCH] 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 --- init/Android.mk | 2 -- 1 file changed, 2 deletions(-) diff --git a/init/Android.mk b/init/Android.mk index 700c81e39..17e5ab256 100644 --- a/init/Android.mk +++ b/init/Android.mk @@ -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)