meta-quanta: gsj: Update mac-address to use meta-common

meta-gsj is using SRCREV = "${AUTOREV}" which is outdated.
Instead, use the bitbake from meta-common similar to meta-gbs.

Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I7c05b04987d10382329e7e813e71d0d79f2c4b9e
diff --git a/meta-quanta/meta-gsj/recipes-gsj/mac-address/files/mac-address.service b/meta-quanta/meta-gsj/recipes-gsj/mac-address/files/mac-address.service
deleted file mode 100644
index e18d694..0000000
--- a/meta-quanta/meta-gsj/recipes-gsj/mac-address/files/mac-address.service
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=Initialize MAC Address
-Before=usb_network.service network-pre.target
-Wants=network-pre.target
-
-[Service]
-Type=oneshot
-ExecStart=/usr/bin/mac-address
-
-[Install]
-WantedBy=multi-user.target
\ No newline at end of file
diff --git a/meta-quanta/meta-gsj/recipes-gsj/mac-address/files/config.txt b/meta-quanta/meta-gsj/recipes-quanta/network/mac-address/mac-address/config.txt
similarity index 100%
rename from meta-quanta/meta-gsj/recipes-gsj/mac-address/files/config.txt
rename to meta-quanta/meta-gsj/recipes-quanta/network/mac-address/mac-address/config.txt
diff --git a/meta-quanta/meta-gsj/recipes-quanta/network/mac-address_%.bbappend b/meta-quanta/meta-gsj/recipes-quanta/network/mac-address_%.bbappend
new file mode 100644
index 0000000..a90150b
--- /dev/null
+++ b/meta-quanta/meta-gsj/recipes-quanta/network/mac-address_%.bbappend
@@ -0,0 +1,10 @@
+FILESEXTRAPATHS_prepend_gsj := "${THISDIR}/${PN}:"
+SRC_URI_append_gsj = " file://config.txt"
+
+FILES_${PN}_append_gsj = " ${datadir}/mac-address/config.txt"
+
+do_install_append_gsj() {
+    install -d ${D}${datadir}/mac-address
+    install -m 0644 -D ${WORKDIR}/config.txt \
+        ${D}${datadir}/mac-address/config.txt
+}