Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98430073 authored by Tom Cherry's avatar Tom Cherry
Browse files

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
parent 3ecaf2e7
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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)