OSDN Git Service

Enable the support of radeonsi and vmwgfx GPUs
[android-x86/device-generic-common.git] / init.x86.rc
index 467c3b8..3c6a43b 100644 (file)
@@ -2,8 +2,6 @@ import /init.bluetooth.rc
 import /init.superuser.rc
 
 on early-init
-    mount debugfs debugfs /sys/kernel/debug
-    chmod 755 /sys/kernel/debug
     write /proc/sys/kernel/ctrl-alt-del 1
 
     write /sys/module/xt_qtaguid/parameters/ctrl_write_limited N
@@ -19,10 +17,6 @@ on init
     # Backward compatibility
     symlink system/lib /lib
 
-    # device information
-    setprop ro.product.manufacturer $[/sys/class/dmi/id/sys_vendor]
-    setprop ro.product.model $[/sys/class/dmi/id/product_name]
-
     exec -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh
 
 on fs
@@ -143,3 +137,6 @@ on property:persist.sys.nativebridge=1
 
 on property:persist.sys.nativebridge=0
     stop nativebridge
+
+on property:debug.egl.hw=0
+    setprop ro.kernel.qemu 1