From: Sujith H <[email protected]> Adding network configuration for minnow board.
Signed-off-by: Muzaffar Mahmood <[email protected]> Signed-off-by: Christopher Larson <[email protected]> Signed-off-by: Sujith H <[email protected]> --- 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 -- _______________________________________________ meta-intel mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-intel
