diff options
author | Mark Hatle <mark.hatle@xilinx.com> | 2020-04-21 15:56:30 -0700 |
---|---|---|
committer | Mark Hatle <mark.hatle@xilinx.com> | 2020-04-21 15:56:30 -0700 |
commit | 36950408e6d5fa62da0204ef8db569dd039e7068 (patch) | |
tree | 15a2b49e534223fa16738165fff45cc42441155f | |
parent | a5be7ea24f03ff484e678e29375bef031acad6d7 (diff) | |
download | meta-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.conf | 1 | ||||
-rw-r--r-- | meta-xilinx-bsp/conf/machine/qemu-zynq7.conf | 1 | ||||
-rw-r--r-- | meta-xilinx-bsp/conf/machine/zynq-generic.conf | 1 |
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" | |||
16 | KERNEL_IMAGETYPE ?= "linux.bin.ub" | 16 | KERNEL_IMAGETYPE ?= "linux.bin.ub" |
17 | 17 | ||
18 | # Use the networking setup from qemuarm | 18 | # Use the networking setup from qemuarm |
19 | MACHINEOVERRIDES_prepend_pn-init-ifupdown = "qemuall:" | ||
19 | FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm" | 20 | FILESOVERRIDES_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" | |||
15 | HDF_MACHINE = "zc702-zynq7" | 15 | HDF_MACHINE = "zc702-zynq7" |
16 | 16 | ||
17 | # Use the networking setup from qemuarm | 17 | # Use the networking setup from qemuarm |
18 | MACHINEOVERRIDES_prepend_pn-init-ifupdown = "qemuall:" | ||
18 | FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm" | 19 | FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm" |
19 | 20 | ||
20 | QB_MEM = "-m 1024" | 21 | QB_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" | |||
19 | HDF_MACHINE = "zc702-zynq7" | 19 | HDF_MACHINE = "zc702-zynq7" |
20 | 20 | ||
21 | # Use the networking setup from qemuarm | 21 | # Use the networking setup from qemuarm |
22 | MACHINEOVERRIDES_prepend_pn-init-ifupdown = "qemuall:" | ||
22 | FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm" | 23 | FILESOVERRIDES_append_pn-init-ifupdown = ":qemuarm" |
23 | 24 | ||
24 | QB_MEM = "-m 1024" | 25 | QB_MEM = "-m 1024" |