Move init.vndk-*.rc to system_ext/etc/gsi
Orgianlly, init.vndk-*.rc are placed under system_ext/etc/init. `init` always run all thse .rc files. The patch move these .rc files to system_ext/etc/gsi to avoid the problem. Bug: 185457479 Test: build gsi_arm64-userdebug; check the files under system_ext/ Change-Id: Iee67d6e2e872cf3cb1dd1014925ed0249c1e7e2d
This commit is contained in:
@@ -229,6 +229,6 @@ LOCAL_LICENSE_CONDITIONS := restricted
|
||||
LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_SYSTEM_EXT_MODULE := true
|
||||
LOCAL_MODULE_RELATIVE_PATH := init
|
||||
LOCAL_MODULE_RELATIVE_PATH := gsi
|
||||
|
||||
include $(BUILD_PREBUILT)
|
||||
|
@@ -2,4 +2,4 @@
|
||||
# Android init script for GSI required initialization
|
||||
#
|
||||
|
||||
import /system/system_ext/etc/init/init.vndk-${ro.vndk.version:-nodef}.rc
|
||||
import /system/system_ext/etc/gsi/init.vndk-${ro.vndk.version:-nodef}.rc
|
||||
|
@@ -1,3 +1,3 @@
|
||||
on early-init
|
||||
# Must define BOARD_VNDK_VERSION
|
||||
# Reboot if BOARD_VNDK_VERSION is not defined
|
||||
exec - root -- /system/bin/reboot bootloader
|
||||
|
Reference in New Issue
Block a user