Commit Graph

6 Commits

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