Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

device-amd: Commit

device/amd


Commit MetaInfo

Revision39a217597e84ff78574b1aeb2bd30c93b4b03d76 (tree)
Time2012-02-03 22:04:26
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

remove unnecessary code

The init.sh is moved to generic_x86 for common usage.

Change Summary

Incremental Difference

--- a/brazos/init.amd_brazos.rc
+++ b/brazos/init.amd_brazos.rc
@@ -6,10 +6,3 @@ on boot
66
77 setkeycode 0xe025 172
88 setkeycode 0xe027 1
9-
10-service userinit /system/bin/sh /system/etc/init.sh
11- oneshot
12- disabled
13-
14-on property:dev.bootcomplete=1
15- start userinit
--- a/common/generic_amd.mk
+++ b/common/generic_amd.mk
@@ -1,7 +1,6 @@
11 PRODUCT_PACKAGES := $(THIRD_PARTY_APPS)
22
33 PRODUCT_COPY_FILES := \
4- $(LOCAL_PATH)/init.sh:system/etc/init.sh \
54 $(LOCAL_PATH)/asound.conf:system/etc/asound.conf \
65
76 $(call inherit-product,$(SRC_TARGET_DIR)/product/generic_x86.mk)
--- a/common/init.sh
+++ /dev/null
@@ -1,14 +0,0 @@
1-PATH=/system/bin:/system/xbin
2-
3-DMIPATH=/sys/class/dmi/id
4-
5-board=`cat $DMIPATH/product_name`
6-case "$board" in
7- *)
8- alsa_amixer set Master on
9- ;;
10-esac
11-
12-alsa_amixer set Master 100
13-alsa_amixer set Headphone 100
14-alsa_amixer set Speaker 100
Show on old repository browser