diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2014-09-26 14:36:38 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2014-10-27 17:01:55 +0800 |
commit | 7a0e2f669c1a6d0c9b8bda370cdec5b4cb4f1e30 (patch) | |
tree | f3d9df2eb61bea103dc238ab2efac912a678fe77 | |
parent | 6ed3d7f584fe84e0a043c017cef965fbe67d7f31 (diff) | |
download | vexpress-linaro-armv8-14.10.tar.gz |
device.mk and init.juno.rc: use ndc to set dns serverlinaro-armv8-14.10
use "ndc resolver" command to make dns work on juno device for eth0
interface, instead of using the "svc netd" command we added ourselves.
Change-Id: I64a6054668067620c5b5d0aa97cf7d78da4a5699
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rw-r--r-- | device.mk | 3 | ||||
-rwxr-xr-x | init.fvpbase.rc | 4 |
2 files changed, 4 insertions, 3 deletions
@@ -61,6 +61,9 @@ PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\ frameworks/native/data/etc/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml \ frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml) +PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\ + device/linaro/common/eth0_dns.sh:system/bin/eth0_dns.sh) + # Copy media codecs config file PRODUCT_COPY_FILES += device/linaro/common/media_codecs.xml:system/etc/media_codecs.xml diff --git a/init.fvpbase.rc b/init.fvpbase.rc index c6fe4f6..e06b3ed 100755 --- a/init.fvpbase.rc +++ b/init.fvpbase.rc @@ -93,9 +93,7 @@ service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emul on property:sys.boot_completed=1 start dns_eth0 -service dns_eth0 /system/bin/sh /system/bin/svc netd setdefaultifdns eth0 8.8.8.8 - user root - group root +service dns_eth0 /system/bin/sh /system/bin/eth0_dns.sh disabled oneshot seclabel u:r:shell:s0 |