Example: fix more things confusing to new adopters
DO NOT MERGE if you have already updated your ramdisk/anykernel.sh properly for your device
This commit is contained in:
3 files changed
+3
-8
No files matched your search
+2
-3
@@ -4,7 +4,7 @@
|
||||
## AnyKernel setup
|
||||
# begin properties
|
||||
properties() { '
|
||||
kernel.string=DirtyV by bsmitty83 @ xda-developers
|
||||
kernel.string=ExampleKernel by osm0sis @ xda-developers
|
||||
do.devicecheck=1
|
||||
do.modules=0
|
||||
do.cleanup=1
|
||||
@@ -42,12 +42,11 @@ dump_boot;
|
||||
# init.rc
|
||||
backup_file init.rc;
|
||||
replace_string init.rc "cpuctl cpu,timer_slack" "mount cgroup none /dev/cpuctl cpu" "mount cgroup none /dev/cpuctl cpu,timer_slack";
|
||||
append_file init.rc "run-parts" init;
|
||||
|
||||
# init.tuna.rc
|
||||
backup_file init.tuna.rc;
|
||||
insert_line init.tuna.rc "nodiratime barrier=0" after "mount_all /fstab.tuna" "\tmount ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/userdata /data remount nosuid nodev noatime nodiratime barrier=0";
|
||||
append_file init.tuna.rc "dvbootscript" init.tuna;
|
||||
append_file init.tuna.rc "bootscript" init.tuna;
|
||||
|
||||
# fstab.tuna
|
||||
backup_file fstab.tuna;
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
# Execute files in /system/etc/init.d before booting
|
||||
service run-parts /sbin/bb/busybox run-parts /system/etc/init.d
|
||||
class main
|
||||
oneshot
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
service dvbootscript /sbin/dvbootscript.sh
|
||||
service bootscript /sbin/bootscript.sh
|
||||
class main
|
||||
user root
|
||||
group root
|
||||
|
||||
Reference in new issue
Block a user