aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSujith H <Sujith_Haridasan@mentor.com>2014-07-30 18:52:03 +0530
committerDarren Hart <dvhart@linux.intel.com>2014-08-06 21:17:56 +0000
commite3718d24e9d2bbdac00d6f1ebd8cbe2894981e4e (patch)
tree14a27809b0790ede45382fce89888346cf1b3e5d
parentee48eba5895178ec19febee2e0a2d8b0f3ace0e9 (diff)
downloadmeta-minnow-e3718d24e9d2bbdac00d6f1ebd8cbe2894981e4e.tar.gz
meta-minnow-e3718d24e9d2bbdac00d6f1ebd8cbe2894981e4e.tar.bz2
meta-minnow-e3718d24e9d2bbdac00d6f1ebd8cbe2894981e4e.zip
systemd: Network configuration for minnow board
Adding network configuration for minnow board. Signed-off-by: Muzaffar Mahmood <muzaffar_mahmood@mentor.com> Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Sujith H <Sujith_Haridasan@mentor.com> Moved to systemd_213.bbappend (from 211) for master branch Signed-off-by: Darren Hart <dvhart@linux.intel.com>
-rw-r--r--recipes-core/systemd/systemd/10-dhcp.network5
-rw-r--r--recipes-core/systemd/systemd_213.bbappend7
2 files changed, 12 insertions, 0 deletions
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_213.bbappend b/recipes-core/systemd/systemd_213.bbappend
new file mode 100644
index 0000000..0ba3368
--- /dev/null
+++ b/recipes-core/systemd/systemd_213.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
+}