summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-sys940x/recipes-core/netbase/files/interfaces10
-rw-r--r--meta-sys940x/recipes-core/netbase/netbase_4.47.bbappend3
2 files changed, 13 insertions, 0 deletions
diff --git a/meta-sys940x/recipes-core/netbase/files/interfaces b/meta-sys940x/recipes-core/netbase/files/interfaces
new file mode 100644
index 00000000..4218f5db
--- /dev/null
+++ b/meta-sys940x/recipes-core/netbase/files/interfaces
@@ -0,0 +1,10 @@
1# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
2
3# The loopback interface
4auto lo
5iface lo inet loopback
6
7# Wired or wireless interfaces
8auto eth0
9iface eth0 inet dhcp
10 hwaddress ether RANDOM_MAC
diff --git a/meta-sys940x/recipes-core/netbase/netbase_4.47.bbappend b/meta-sys940x/recipes-core/netbase/netbase_4.47.bbappend
new file mode 100644
index 00000000..6d3f6940
--- /dev/null
+++ b/meta-sys940x/recipes-core/netbase/netbase_4.47.bbappend
@@ -0,0 +1,3 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
2RDEPENDS_${PN} += "genmac"
3PRINC := "${@int(PRINC) + 1}"