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-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
+}