]> code.ossystems Code Review - openembedded-core.git/commitdiff
init-ifupdown: always make machine-specific
authorRoss Burton <ross.burton@arm.com>
Tue, 14 Jul 2020 17:02:47 +0000 (18:02 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 18 Jul 2020 10:06:28 +0000 (11:06 +0100)
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.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb

index 733ae41f20983a7e6f1c147188aa6b4db951d05b..b6fc8a4d4196c212e923814e9f840b913624c9d7 100644 (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)"