summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@xilinx.com>2020-04-21 15:56:30 -0700
committerMark Hatle <mark.hatle@xilinx.com>2020-04-21 15:56:30 -0700
commit36950408e6d5fa62da0204ef8db569dd039e7068 (patch)
tree15a2b49e534223fa16738165fff45cc42441155f
parenta5be7ea24f03ff484e678e29375bef031acad6d7 (diff)
downloadmeta-xilinx-36950408e6d5fa62da0204ef8db569dd039e7068.tar.gz
init-ifupdown: Fix BSPs that were setting partial overrides
Issue: CR-1061420 The init-ifupdown will choose alternative network interface configuration files based on the FILESOVERRIDE setting, which usually includes a machine name. If an alternative is selected, then the package should become machine specific. The BSPs were setting the files override, but were NOT settings the required machine override. Fix this by setting the necessary machine override, ensuring the init-ifupdown IS now machine specific. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
-rw-r--r--meta-xilinx-bsp/conf/machine/ml605-qemu-microblazeel.conf1
-rw-r--r--meta-xilinx-bsp/conf/machine/qemu-zynq7.conf1
-rw-r--r--meta-xilinx-bsp/conf/machine/zynq-generic.conf1
3 files changed, 3 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/conf/machine/ml605-qemu-microblazeel.conf b/meta-xilinx-bsp/conf/machine/ml605-qemu-microblazeel.conf
index 5f9d604b..3e5d623f 100644
--- a/meta-xilinx-bsp/conf/machine/ml605-qemu-microblazeel.conf
+++ b/meta-xilinx-bsp/conf/machine/ml605-qemu-microblazeel.conf
@@ -16,6 +16,7 @@ SERIAL_CONSOLES ?= "115200;ttyS0"
16KERNEL_IMAGETYPE ?= "linux.bin.ub" 16KERNEL_IMAGETYPE ?= "linux.bin.ub"
17 17
18# Use the networking setup from qemuarm 18# Use the networking setup from qemuarm
19MACHINEOVERRIDES_prepend_pn-init-ifupdown = "qemuall:"
19FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm" 20FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm"
20 21
21# This machine is a targeting a QEMU model, runqemu setup: 22# This machine is a targeting a QEMU model, runqemu setup:
diff --git a/meta-xilinx-bsp/conf/machine/qemu-zynq7.conf b/meta-xilinx-bsp/conf/machine/qemu-zynq7.conf
index 3700e57b..8bccfde2 100644
--- a/meta-xilinx-bsp/conf/machine/qemu-zynq7.conf
+++ b/meta-xilinx-bsp/conf/machine/qemu-zynq7.conf
@@ -15,6 +15,7 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree"
15HDF_MACHINE = "zc702-zynq7" 15HDF_MACHINE = "zc702-zynq7"
16 16
17# Use the networking setup from qemuarm 17# Use the networking setup from qemuarm
18MACHINEOVERRIDES_prepend_pn-init-ifupdown = "qemuall:"
18FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm" 19FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm"
19 20
20QB_MEM = "-m 1024" 21QB_MEM = "-m 1024"
diff --git a/meta-xilinx-bsp/conf/machine/zynq-generic.conf b/meta-xilinx-bsp/conf/machine/zynq-generic.conf
index f7e372c4..75336e98 100644
--- a/meta-xilinx-bsp/conf/machine/zynq-generic.conf
+++ b/meta-xilinx-bsp/conf/machine/zynq-generic.conf
@@ -19,6 +19,7 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree"
19HDF_MACHINE = "zc702-zynq7" 19HDF_MACHINE = "zc702-zynq7"
20 20
21# Use the networking setup from qemuarm 21# Use the networking setup from qemuarm
22MACHINEOVERRIDES_prepend_pn-init-ifupdown = "qemuall:"
22FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm" 23FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm"
23 24
24QB_MEM = "-m 1024" 25QB_MEM = "-m 1024"