From d9b25aa3bb7fe60a9f8577c64aa7e21fc0b513cc Mon Sep 17 00:00:00 2001 From: Nathan Rossi Date: Thu, 24 Sep 2015 16:53:53 +1000 Subject: 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 --- conf/machine/qemumicroblaze.conf | 3 +++ conf/machine/qemuzynq.conf | 4 ++++ 2 files changed, 7 insertions(+) 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" + -- cgit v1.2.3-54-g00ecf