init-ifupdown: always make machine-specific

We make this recipe machine-specific for all qemu targets, but otherwise
defaults to tune-specific.

However the network configuration is typically machine-specific, so do
this in the recipe directly so that BSPs don't need to do it themselves.

(From OE-Core rev: 02b3e8f43f72d83904272c15c8f15cf03c763c94)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2020-07-14 18:02:47 +01:00
committed by Richard Purdie
parent 76826e21ae
commit 188bbc647f

View File

@@ -34,7 +34,7 @@ do_install_append_qemuall () {
touch ${D}${sysconfdir}/network/nm-disabled-eth0
}
PACKAGE_ARCH_qemuall = "${MACHINE_ARCH}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
RDEPENDS_${PN} = "netbase"
RCONFLICTS_${PN} = "netbase (< 1:5.0)"