summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-sys940x/recipes-core/netbase/files/sys940x-noemgd/interfaces (renamed from meta-sys940x/recipes-core/netbase/files/interfaces)2
-rw-r--r--meta-sys940x/recipes-core/netbase/files/sys940x/interfaces10
-rw-r--r--meta-sys940x/recipes-core/netbase/netbase_4.47.bbappend2
3 files changed, 12 insertions, 2 deletions
diff --git a/meta-sys940x/recipes-core/netbase/files/interfaces b/meta-sys940x/recipes-core/netbase/files/sys940x-noemgd/interfaces
index 4218f5d..754a5d9 100644
--- a/meta-sys940x/recipes-core/netbase/files/interfaces
+++ b/meta-sys940x/recipes-core/netbase/files/sys940x-noemgd/interfaces
@@ -1,5 +1,5 @@
1# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) 1# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
2 2
3# The loopback interface 3# The loopback interface
4auto lo 4auto lo
5iface lo inet loopback 5iface lo inet loopback
diff --git a/meta-sys940x/recipes-core/netbase/files/sys940x/interfaces b/meta-sys940x/recipes-core/netbase/files/sys940x/interfaces
new file mode 100644
index 0000000..754a5d9
--- /dev/null
+++ b/meta-sys940x/recipes-core/netbase/files/sys940x/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
index 6d3f694..e01e0b6 100644
--- a/meta-sys940x/recipes-core/netbase/netbase_4.47.bbappend
+++ b/meta-sys940x/recipes-core/netbase/netbase_4.47.bbappend
@@ -1,3 +1,3 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 1FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
2RDEPENDS_${PN} += "genmac" 2RDEPENDS_${PN} += "genmac"
3PRINC := "${@int(PRINC) + 1}" 3PRINC := "${@int(PRINC) + 2}"