Skip to content

Commit

Permalink
g5: Cleanup ramdisk
Browse files Browse the repository at this point in the history
* Mainly taken from gemini and CAF

g5: Run the sensors service at boot time

g5: More ramdisk cleanup

g5: Remove shell scripts in ramdisk

Revert "g5: Run the sensors service at boot time"

This reverts commit 8cec6f9ffc4da4dac5f19227b71b548052a50476.

g5: Last ramdisk cleanup

* For me ..
  • Loading branch information
h2o64 authored and Rashed97 committed Jul 4, 2016
1 parent 2d22351 commit 8fae8f4
Show file tree
Hide file tree
Showing 13 changed files with 284 additions and 3,074 deletions.
24 changes: 10 additions & 14 deletions g5.mk
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,16 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
libcnefeatureconfig

# Device init scripts
PRODUCT_PACKAGES += \
fstab.qcom \
init.qcom.rc \
init.qcom.power.rc \
init.qcom.usb.rc \
init.target.rc \
ueventd.qcom.rc \
init.qcom.sh

# Display
PRODUCT_PACKAGES += \
copybit.msm8996 \
Expand All @@ -135,20 +145,6 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/gps/etc/izat.conf:system/etc/izat.conf \
$(LOCAL_PATH)/gps/etc/sap.conf:system/etc/sap.conf

# Init
PRODUCT_PACKAGES += \
fstab.qcom \
init.target.rc \
init.qcom.rc \
init.qcom.sh \
init.qcom.class_core.sh \
init.qcom.early_boot.sh \
init.qcom.post_boot.sh \
init.class_main.sh \
init.qcom.usb.rc \
init.qcom.sensors.sh \
ueventd.qcom.rc

# IPACM
PRODUCT_PACKAGES += \
IPACM_cfg.xml \
Expand Down
51 changes: 2 additions & 49 deletions rootdir/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@ LOCAL_SRC_FILES := etc/fstab.qcom
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)

include $(CLEAR_VARS)
LOCAL_MODULE := init.target.rc
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.target.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)

include $(CLEAR_VARS)
LOCAL_MODULE := init.qcom.rc
LOCAL_MODULE_TAGS := optional eng
Expand All @@ -35,45 +27,6 @@ LOCAL_SRC_FILES := etc/init.qcom.power.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)

include $(CLEAR_VARS)
LOCAL_MODULE := init.qcom.sh
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.qcom.sh
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)

include $(CLEAR_VARS)
LOCAL_MODULE := init.qcom.class_core.sh
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.qcom.class_core.sh
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)

include $(CLEAR_VARS)
LOCAL_MODULE := init.qcom.early_boot.sh
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.qcom.early_boot.sh
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)

include $(CLEAR_VARS)
LOCAL_MODULE := init.qcom.post_boot.sh
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.qcom.post_boot.sh
include $(BUILD_PREBUILT)

include $(CLEAR_VARS)
LOCAL_MODULE := init.class_main.sh
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.class_main.sh
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)

include $(CLEAR_VARS)
LOCAL_MODULE := init.qcom.usb.rc
LOCAL_MODULE_TAGS := optional eng
Expand All @@ -83,10 +36,10 @@ LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)

include $(CLEAR_VARS)
LOCAL_MODULE := init.qcom.sensors.sh
LOCAL_MODULE := init.target.rc
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.qcom.sensors.sh
LOCAL_SRC_FILES := etc/init.target.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)

Expand Down
97 changes: 0 additions & 97 deletions rootdir/etc/init.class_main.sh

This file was deleted.

Loading

0 comments on commit 8fae8f4

Please sign in to comment.