summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2014-05-23 22:55:16 +0530
committerAmit Pundir <amit.pundir@linaro.org>2014-05-23 22:55:16 +0530
commit407370e65a1841c486279a67da07a4a9e2eff966 (patch)
tree8736a25f717d41ff7cf5bfef8053f50667e375f0
parentedfcc7cda6bb16d84515b6901451829027ca601b (diff)
downloadjuno-407370e65a1841c486279a67da07a4a9e2eff966.tar.gz
add clock init service
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r--init.juno.rc31
-rw-r--r--init.rc2
2 files changed, 6 insertions, 27 deletions
diff --git a/init.juno.rc b/init.juno.rc
index e405a3c..6900309 100644
--- a/init.juno.rc
+++ b/init.juno.rc
@@ -3,6 +3,9 @@ on early-init
mount debugfs debugfs /sys/kernel/debug
on init
+ # disable transparent huge pages
+ write /sys/kernel/mm/transparent_hugepage/enabled "never"
+
# See storage config details at http://source.android.com/tech/storage/
mkdir /storage/sdcard 0555 root root
@@ -43,19 +46,6 @@ on boot
# like NetworkLocationProvider and LocationCollector
setprop ro.com.google.locationfeatures 1
-# For the emulator, which bypasses Setup Wizard, you can specify
-# account info for the device via these two properties. Google
-# Login Service will insert these accounts into the database when
-# it is created (ie, after a data wipe).
-#
-# setprop ro.config.hosted_account username@hosteddomain.org:password
-# setprop ro.config.google_account username@gmail.com:password
-#
-# You MUST have a Google account on the device, and you MAY
-# additionally have a hosted account. No other configuration is
-# supported, and arbitrary breakage may result if you specify
-# something else.
-
# enable test harness
setprop ro.test_harness true
@@ -68,19 +58,8 @@ service dhcpcd_eth0 /system/bin/dhcpcd -dABKL eth0
group dhcp
oneshot
-service goldfish-setup /system/etc/init.goldfish.sh
+service clock-init /system/bin/hwclock
+ class main
user root
group root
oneshot
-
-# The qemu-props program is used to set various system
-# properties on boot. It must be run early during the boot
-# process to avoid race conditions with other daemons that
-# might read them (e.g. surface flinger), so define it in
-# class 'core'
-#
-# -Q is a special logcat option that forces the
-# program to check wether it runs on the emulator
-# if it does, it redirects its output to the device
-# named by the androidboot.console kernel option
-# if not, is simply exits immediately
diff --git a/init.rc b/init.rc
index b6e16d1..8d3197a 100644
--- a/init.rc
+++ b/init.rc
@@ -6,7 +6,7 @@
import /init.environ.rc
import /init.usb.rc
-import /init.${ro.hardware}.rc
+import /init.juno.rc
import /init.zygote64_32.rc
import /init.trace.rc