aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2015-09-24 16:53:53 +1000
committerNathan Rossi <nathan@nathanrossi.com>2015-09-24 17:32:14 +1000
commitd9b25aa3bb7fe60a9f8577c64aa7e21fc0b513cc (patch)
tree93309e97182fa2f53f2a3ac49434e44bb08ceb63
parentbd435c6f485b511f20d5f2cfb57e87cfd9cd6230 (diff)
downloadmeta-xilinx-d9b25aa3bb7fe60a9f8577c64aa7e21fc0b513cc.tar.gz
meta-xilinx-d9b25aa3bb7fe60a9f8577c64aa7e21fc0b513cc.tar.bz2
meta-xilinx-d9b25aa3bb7fe60a9f8577c64aa7e21fc0b513cc.zip
conf/machine/qemu*: Setup init-ifupdown for QEMU machines
* Using FILEOVERRIDES setup the init-ifupdown recipe to use the /etc/network/interfaces for the 'qemuarm' machine, this allows for the runqemu networking setup to specify the IP address via kernel parameters. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
-rw-r--r--conf/machine/qemumicroblaze.conf3
-rw-r--r--conf/machine/qemuzynq.conf4
2 files changed, 7 insertions, 0 deletions
diff --git a/conf/machine/qemumicroblaze.conf b/conf/machine/qemumicroblaze.conf
index e6593213..643823cf 100644
--- a/conf/machine/qemumicroblaze.conf
+++ b/conf/machine/qemumicroblaze.conf
@@ -16,3 +16,6 @@ SERIAL_CONSOLE = "115200 ttyS0"
MACHINE_DEVICETREE := "qemu/qemumicroblaze.dts"
+# Use the networking setup from qemuarm
+FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm"
+
diff --git a/conf/machine/qemuzynq.conf b/conf/machine/qemuzynq.conf
index b674ae95..13914392 100644
--- a/conf/machine/qemuzynq.conf
+++ b/conf/machine/qemuzynq.conf
@@ -15,3 +15,7 @@ MACHINE_DEVICETREE := " \
qemu/qemuzynq.dts \
qemu/qemuzynq-base.dtsi \
"
+
+# Use the networking setup from qemuarm
+FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm"
+