Commit Graph

21 Commits

Author SHA1 Message Date
Steve Kondik
42fb9d8fc5 cm: Remove legacy compcache stuff
* Remove all this stuff.  If a device wants ZRAM, it should be
   enabled by the maintainer and properly configured and tuned.
 * This stuff currently causes a conflict with the ZRAM support
   added in Kitkat. Kill it.

Change-Id: Ib2488ea4463e32ec44b65fe786f732145b5b6e23
2014-01-04 16:59:40 -08:00
Steve Kondik
61fc945ab0 cm: Remove $TERM in global envrionment
* Handled by mksh now.

Change-Id: I21aaa17580e69ab81c471939aa7f968ad7475cb4
2013-12-08 01:04:18 -08:00
Michael Bestas
7a46cf7817 init.local.rc: Fix typo
Change-Id: Iec9b4c84cfc8c594558cab55a597cbefa6171d33
2013-10-24 05:04:41 +03:00
Jon Mooney
461e4ecb37 vendor/cm: Clean up init.local.rc
These changes fix the error below found in a logcat and clean up some other issues in the file.

"E CM PowerHAL: Error opening /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate: Permission denied"

	PS2: tweaked permissions & removed dupilcated entries

Change-Id: I9b1bbe66c36ba0d8de13b8cb9351d2952851c250
2013-10-23 11:04:33 -04:00
Steve Kondik
f9bb7779ed cm: Update permissions for ondemand sysfs nodes
Change-Id: I4d7e856a720bef539bd5c43624cc8ed746b2cc95
2013-10-07 23:39:12 -07:00
Steve Kondik
686cbf2d87 cm: Set permissions on input_boost node
Change-Id: I2f02a3035158dbd138c2c22ddd4536bd717ae6b9
2013-10-04 04:31:56 -07:00
Steve Kondik
6a0f53023f cm: Set permissions on notify_on_migrate node
* Used by PowerHAL

Change-Id: Ifbf58c145522d82d220fbae39a6b7319971ecbb5
2013-10-02 11:28:28 -07:00
Giulio Cervera
989a313c54 rootdir: Set permissions for additional interactive sysfs nodes
Change-Id: I2dbcdcc199c5f75d08e8ebf41cd6768c7648e27b
2013-09-28 00:55:37 +01:00
Giulio Cervera
a76d898dec init: provide initial pemissions for ondemand governor
also set all governor permissions a bit late

Change-Id: I5c1445b31bcaf34a535efd7438fd612ada460ea2
2013-09-28 00:55:22 +01:00
NameLess, the Jedi
ff4b205412 Allow 'system' user to modify cpufreq control files
This is needed by new CPU Settings in CMParts

Change-Id: I0ec4e0b1705670034a433df549b2895985c476af
2013-09-28 00:54:32 +01:00
Pawit Pornkitprasan
04ffabe3dd Use Package Manager to disable stock OTA
This reverts commit ea14a88a2a.

Using the Package Manager prevents any danling wakelock from
killed service/receiver.

Change-Id: Ie3162ca4b18a7bc9c55613af39e88ea980407e5f
2013-09-01 16:29:16 +07:00
Ricardo Cerqueira
ea14a88a2a Prevent stock OTA activities from running in CM
Change-Id: I3f586cd246fc351afb82c94f41329bf930f6f41a
2013-08-27 22:15:26 +01:00
Koushik Dutta
5af62eb1b1 Superuser 4.3 fix.
Change-Id: I8849d7ba9c7cebfb14d9f09a8220430b5b97b3ff
2013-07-27 20:31:24 -07:00
Ricardo Cerqueira
79ba997084 init.cm: Fix sysinit dependencies
sysinit depends on having the filesystems mounted, and userdata
in particular depends on having /data present. Move its startup
to post-fs-data

Change-Id: Iafcc926a3aa310c1afe501d272df5811da500d86
2013-06-12 12:13:53 +01:00
Chirayu Desai
ce88540d8c init.cm: make directory for ssh
Change-Id: I9aa2506bd9bdc6f87d7d5e5153999c9233d126c1
2013-05-12 16:28:01 +05:30
Ricardo Cerqueira
6698e5ebdb init.cm.rc: Fix startup banner, and move sysinit here
"getprop" depends on the presence of the property workspace
env var, which is created by the first starting service. Why
not make that sysinit itself? (\/) (°,,,°) (\/)
2012-11-23 17:15:16 +00:00
Ricardo Cerqueira
8f412cb14a cm: init.rc: Fix compcache and cleanup init file
The "import" keyword is only parsed once, for a one shot execution, during
the initial section setup, and before running "on fs". Having an import of
a file that's located in a filesystem other than root will result in an error
like

<3> init: could not import file '/system/etc/init.local.rc' from '/init.rc'

So... any files imported into init need to be moved to the root fs.
While we're at it, move init.rc changes that are specific to CM (and don't
involve modification of preexisting configs) into this file, to ease future
upstream merges (and minimize breakage on devices that override init.rc with
their own variants)

Needs to be paired with the corresponding system/core patch

Change-Id: Iab6340db2e28ef19dbcd84ae5c71737ce0cd491f
2012-10-18 16:42:27 +01:00
Steve Kondik
fe18fc31a6 cm: Fix compcache startup
Can't run a script on /system in "on boot" because /system isn't
mounted yet.
2010-08-20 13:17:37 -04:00
Eddie Ringle
7e52cbfa0a Only enable/disable compcache at boot
Signed-off-by: Eddie Ringle <eddie.ringle@gmail.com>
2010-08-18 00:07:20 -04:00
Steve Kondik
7e8f1af7b2 Move run-parts to main init. 2010-07-07 09:08:59 -04:00
Steve Kondik
a89711a5c1 Copy the local (CM-specific) init.rc to /etc 2010-07-07 09:06:13 -04:00