diff --git a/device.mk b/device.mk index bd929ac..d469253 100644 --- a/device.mk +++ b/device.mk @@ -24,6 +24,7 @@ PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true PRODUCT_PACKAGES += \ init.disabled.rc \ init.halium.rc \ + init.halium_device.rc \ vndk-detect \ on-post-data.sh diff --git a/rootdir/Android.mk b/rootdir/Android.mk index f73a4db..06d6f11 100644 --- a/rootdir/Android.mk +++ b/rootdir/Android.mk @@ -12,6 +12,14 @@ LOCAL_SRC_FILES := etc/init.halium.rc LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/init include $(BUILD_PREBUILT) +include $(CLEAR_VARS) +LOCAL_MODULE := init.halium_device.rc +LOCAL_MODULE_TAGS := optional eng +LOCAL_MODULE_CLASS := ETC +LOCAL_SRC_FILES := etc/init.halium_device.rc +LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/init +include $(BUILD_PREBUILT) + include $(CLEAR_VARS) LOCAL_MODULE := init.disabled.rc LOCAL_MODULE_TAGS := optional eng diff --git a/rootdir/etc/init.halium_device.rc b/rootdir/etc/init.halium_device.rc new file mode 100644 index 0000000..92645a3 --- /dev/null +++ b/rootdir/etc/init.halium_device.rc @@ -0,0 +1,3 @@ +# This is an empty configuration file, which is provided as a mount point +# so that device trees can use it to bind-mount their device-specific init +# overrides.