[meta-intel] [minnowboard:][PATCH] systemd: Network configuration for minnow board

Sujith H sujith.h at gmail.com
Wed Jul 30 06:22:03 PDT 2014


From: Sujith H <Sujith_Haridasan at mentor.com>

Adding network configuration for minnow board.

Signed-off-by: Muzaffar Mahmood <muzaffar_mahmood at mentor.com>
Signed-off-by: Christopher Larson <chris_larson at mentor.com>
Signed-off-by: Sujith H <Sujith_Haridasan at mentor.com>
---
 recipes-core/systemd/systemd/10-dhcp.network | 5 +++++
 recipes-core/systemd/systemd_211.bbappend    | 7 +++++++
 2 files changed, 12 insertions(+)
 create mode 100644 recipes-core/systemd/systemd/10-dhcp.network
 create mode 100644 recipes-core/systemd/systemd_211.bbappend

diff --git a/recipes-core/systemd/systemd/10-dhcp.network b/recipes-core/systemd/systemd/10-dhcp.network
new file mode 100644
index 0000000..aec1849
--- /dev/null
+++ b/recipes-core/systemd/systemd/10-dhcp.network
@@ -0,0 +1,5 @@
+[Match]
+Name=en*
+
+[Network]
+DHCP=yes
diff --git a/recipes-core/systemd/systemd_211.bbappend b/recipes-core/systemd/systemd_211.bbappend
new file mode 100644
index 0000000..0ba3368
--- /dev/null
+++ b/recipes-core/systemd/systemd_211.bbappend
@@ -0,0 +1,7 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+SRC_URI_append_minnow = " file://10-dhcp.network"
+
+do_install_append_minnow () {
+        install -m 0644 ${WORKDIR}/10-dhcp.network ${D}${sysconfdir}/systemd/network/dhcp.network
+}
-- 
1.8.4



More information about the meta-intel mailing list