summaryrefslogtreecommitdiffstats
path: root/target/product
diff options
context:
space:
mode:
authorbohu <bohu@google.com>2015-09-14 16:02:43 -0700
committerbohu <bohu@google.com>2015-09-14 16:40:12 -0700
commit9ee993f60ef25149a239e1e1910b6c8d02f3484d (patch)
tree98609fa20a1c173aa1d5c3f22541e5347781921e /target/product
parent265d9aeb622c5829787b16b903f028cacaa99c18 (diff)
downloadbuild-9ee993f60ef25149a239e1e1910b6c8d02f3484d.zip
build-9ee993f60ef25149a239e1e1910b6c8d02f3484d.tar.gz
build-9ee993f60ef25149a239e1e1910b6c8d02f3484d.tar.bz2
emulator.mk: Add ethernet permission
Networking on old emulator device(a.k.a. goldfish) relies on RIL; However, RIL is not available on ranchu device yet. For ranchu device to have a functional networking, we need to add ethernet permission and start dhcpcd_eth0 service on ranchu device. This CL adds ethernet permission to both goldfish (which is harmless) and ranchu devices. This addition was originally proposed by miroslav.tisma@imgtec.com and the ethernet permission was only added to arm64 and mips64 after discussion. With the ranchu device supporting more architectures, it makes sense to allow this permission on all devices and all CPU architectures. related CL by miroslav.tisma@imgtec.com on AOSP: b09fb84becf73bf2bc578ebf27910d75b79d668a bug: 24070972 Change-Id: I81ac5d8901adee43784fe9dd45a170fb90bb824a
Diffstat (limited to 'target/product')
-rw-r--r--target/product/emulator.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/product/emulator.mk b/target/product/emulator.mk
index 982f7da..7394d4f 100644
--- a/target/product/emulator.mk
+++ b/target/product/emulator.mk
@@ -50,6 +50,7 @@ PRODUCT_PACKAGES += \
sensors.ranchu
PRODUCT_COPY_FILES += \
+ frameworks/native/data/etc/android.hardware.ethernet.xml:system/etc/permissions/android.hardware.ethernet.xml \
device/generic/goldfish/fstab.goldfish:root/fstab.goldfish \
device/generic/goldfish/init.goldfish.rc:root/init.goldfish.rc \
device/generic/goldfish/init.goldfish.sh:system/etc/init.goldfish.sh \