Loading device.mk +0 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,6 @@ PRODUCT_PACKAGES += \ # Init PRODUCT_PACKAGES += \ init.ago.rc \ init.mt6771.rc \ fstab.enableswap \ fstab.mt6771 Loading rootdir/Android.mk +0 −8 Original line number Diff line number Diff line Loading @@ -5,14 +5,6 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := init.ago.rc LOCAL_MODULE_TAGS := optional LOCAL_MODULE_CLASS := ETC LOCAL_SRC_FILES := etc/init.ago.rc LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/init include $(BUILD_PREBUILT) include $(CLEAR_VARS) LOCAL_MODULE := init.mt6771.rc LOCAL_MODULE_TAGS := optional Loading rootdir/etc/init.ago.rcdeleted 100644 → 0 +0 −12 Original line number Diff line number Diff line # ago_default is the init flow for the project > 1G on init write /sys/block/zram0/comp_algorithm lz4 on post-fs-data write /proc/sys/vm/page-cluster 0 swapon_all /system/etc/fstab.enableswap write /dev/memcg/memory.swappiness 150 write /dev/memcg/apps/memory.swappiness 150 write /dev/memcg/system/memory.swappiness 150 write /proc/sys/vm/swappiness 150 rootdir/etc/init.mt6771.rc +1 −2 Original line number Diff line number Diff line import /system/etc/init/init.ago.rc on init setprop sys.usb.ffs.aio_compat 1 Loading @@ -7,6 +5,7 @@ on init # Override vendor fstab # We only need it to be overridden before things are mounted mount none /system/etc/fstab.mt6771 /vendor/etc/fstab.mt6771 bind mount none /system/etc/fstab.enableswap /vendor/etc/fstab.enableswap bind on post-fs # Unmount the overridden fstab because the SELinux label is incorrect Loading Loading
device.mk +0 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,6 @@ PRODUCT_PACKAGES += \ # Init PRODUCT_PACKAGES += \ init.ago.rc \ init.mt6771.rc \ fstab.enableswap \ fstab.mt6771 Loading
rootdir/Android.mk +0 −8 Original line number Diff line number Diff line Loading @@ -5,14 +5,6 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := init.ago.rc LOCAL_MODULE_TAGS := optional LOCAL_MODULE_CLASS := ETC LOCAL_SRC_FILES := etc/init.ago.rc LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/init include $(BUILD_PREBUILT) include $(CLEAR_VARS) LOCAL_MODULE := init.mt6771.rc LOCAL_MODULE_TAGS := optional Loading
rootdir/etc/init.ago.rcdeleted 100644 → 0 +0 −12 Original line number Diff line number Diff line # ago_default is the init flow for the project > 1G on init write /sys/block/zram0/comp_algorithm lz4 on post-fs-data write /proc/sys/vm/page-cluster 0 swapon_all /system/etc/fstab.enableswap write /dev/memcg/memory.swappiness 150 write /dev/memcg/apps/memory.swappiness 150 write /dev/memcg/system/memory.swappiness 150 write /proc/sys/vm/swappiness 150
rootdir/etc/init.mt6771.rc +1 −2 Original line number Diff line number Diff line import /system/etc/init/init.ago.rc on init setprop sys.usb.ffs.aio_compat 1 Loading @@ -7,6 +5,7 @@ on init # Override vendor fstab # We only need it to be overridden before things are mounted mount none /system/etc/fstab.mt6771 /vendor/etc/fstab.mt6771 bind mount none /system/etc/fstab.enableswap /vendor/etc/fstab.enableswap bind on post-fs # Unmount the overridden fstab because the SELinux label is incorrect Loading