Commit Graph

9 Commits

Author SHA1 Message Date
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