OSDN Git Service

Test build 20151202
authorChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 2 Dec 2015 15:55:00 +0000 (23:55 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 5 May 2016 18:17:12 +0000 (02:17 +0800)
init.sh
init.x86.rc
nativebridge/bin/enable_nativebridge
packages.mk
x86.mk

diff --git a/init.sh b/init.sh
index 96cbaa3..2dbe15d 100644 (file)
--- a/init.sh
+++ b/init.sh
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2013 The Android-x86 Open Source Project
+# Copyright (C) 2013-2015 The Android-x86 Open Source Project
 #
 # License: GNU Public License v2 or later
 #
@@ -12,6 +12,10 @@ function set_property()
 
 function init_misc()
 {
+       # device information
+       setprop ro.product.manufacturer "$(cat $DMIPATH/sys_vendor)"
+       setprop ro.product.model "$PRODUCT"
+
        # a hack for USB modem
        lsusb | grep 1a8d:1000 && eject
 
@@ -398,6 +402,14 @@ for c in `cat /proc/cmdline`; do
                        ;;
                *=*)
                        eval $c
+                       case $c in
+                               HWACCEL=*)
+                                       set_property debug.egl.hw $HWACCEL
+                                       ;;
+                               DEBUG=*)
+                                       set_property debug.logcat 1
+                                       ;;
+                       esac
                        ;;
        esac
 done
index 467c3b8..6ed2264 100644 (file)
@@ -19,10 +19,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 +139,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
index ef00891..3de5cfb 100644 (file)
@@ -24,9 +24,9 @@ while [ ! -s $dest_dir/libhoudini.so ]; do
                sleep 10
        done
        if [ -z "$1" ]; then
-               [ "`uname -m`" = "x86_64" ] && url=http://goo.gl/Xl1str || url=http://goo.gl/PA2qZ7
+               [ "`uname -m`" = "x86_64" ] && url=http://goo.gl/Knnmyl || url=http://goo.gl/JsoX2C
        else
-               url=http://goo.gl/L00S7l
+               url=http://goo.gl/n6KtQa
        fi
        wget $url -cO houdini.tgz &&
                bzcat houdini.tgz | tar xvf - -C $dest_dir && rm -f houdini.tgz && break
index 56c5c67..88cf723 100644 (file)
@@ -46,6 +46,7 @@ PRODUCT_PACKAGES := \
     libhuaweigeneric-ril \
     lights.default \
     make_ext4fs \
+    parted \
     powerbtnd \
     scp \
     sensors.hsb \
@@ -76,5 +77,4 @@ PRODUCT_PACKAGES += \
 
 # Third party apps
 PRODUCT_PACKAGES += \
-    Superuser \
-    TSCalibration2 \
+    CMFileManager \
diff --git a/x86.mk b/x86.mk
index a852186..2c94d1f 100644 (file)
--- a/x86.mk
+++ b/x86.mk
@@ -21,6 +21,9 @@
 PRODUCT_PROPERTY_OVERRIDES := \
     ro.com.android.dateformat=MM-dd-yyyy \
 
+$(call inherit-product,$(LOCAL_PATH)/device.mk)
+$(call inherit-product,$(LOCAL_PATH)/packages.mk)
+
 # Get a list of languages.
 $(call inherit-product,$(SRC_TARGET_DIR)/product/locales_full.mk)
 
@@ -29,6 +32,3 @@ $(call inherit-product,$(SRC_TARGET_DIR)/product/generic.mk)
 
 # Get some sounds
 $(call inherit-product-if-exists,frameworks/base/data/sounds/AudioPackage6.mk)
-
-$(call inherit-product,$(LOCAL_PATH)/device.mk)
-$(call inherit-product,$(LOCAL_PATH)/packages.mk)