rb5: Set Ethernet MAC address on boot am: a961f043ae am: 9fd963eefd am: 8eac097255 am: b7c3d561ff am: cd2a32358d

Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/2737313

Change-Id: Ib1d2cc59c7fbdea29bd3420a86c241cb93633f72
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/rb5/device.mk b/rb5/device.mk
index 1366b4a..a1c1b59 100644
--- a/rb5/device.mk
+++ b/rb5/device.mk
@@ -48,6 +48,11 @@
 PRODUCT_COPY_FILES += \
     device/linaro/dragonboard/shared/utils/set_hw.sh:$(TARGET_COPY_OUT_VENDOR)/bin/set_hw.sh
 
+# Install scripts to set Ethernet MAC address
+PRODUCT_COPY_FILES += \
+    device/linaro/dragonboard/shared/utils/ethaddr/ethaddr.rc:/system/etc/init/ethaddr.rc \
+    device/linaro/dragonboard/shared/utils/ethaddr/set_ethaddr.sh:/system/bin/set_ethaddr.sh
+
 PRODUCT_VENDOR_PROPERTIES += ro.soc.manufacturer=Qualcomm
 PRODUCT_VENDOR_PROPERTIES += ro.soc.model=QRB5165
 
diff --git a/shared/utils/ethaddr/ethaddr.rc b/shared/utils/ethaddr/ethaddr.rc
index d82f5ee..cd26f69 100644
--- a/shared/utils/ethaddr/ethaddr.rc
+++ b/shared/utils/ethaddr/ethaddr.rc
@@ -5,5 +5,5 @@
     disabled
     oneshot
 
-on post-fs-data && property:vendor.hw=db845c
+on post-fs-data
     start set_ethaddr