From 1d91d3411bb49eb60da68d8fece9145ef8305786 Mon Sep 17 00:00:00 2001 From: Francisco Gil Date: Thu, 13 Feb 2020 08:58:20 +0100 Subject: [PATCH] br0: move the br0 interface to the bottom This interface should be the last item defined in the /etc/network/interfaces file. When you try to enable the interface br0 (bridge interface), all the other interfaces should be available. If the br0 interface is located before the other interfaces involved in the bridge, it will fail. Signed-off-by: Francisco Gil --- .../recipes-core/init-ifupdown/init-ifupdown_1.0.bbappend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-digi-dey/recipes-core/init-ifupdown/init-ifupdown_1.0.bbappend b/meta-digi-dey/recipes-core/init-ifupdown/init-ifupdown_1.0.bbappend index 0a84fd155..9ca62c4d4 100644 --- a/meta-digi-dey/recipes-core/init-ifupdown/init-ifupdown_1.0.bbappend +++ b/meta-digi-dey/recipes-core/init-ifupdown/init-ifupdown_1.0.bbappend @@ -57,13 +57,13 @@ do_install_append() { sed -i -e "s,##P2P0_STATIC_DNS##,${P2P0_STATIC_DNS},g" ${D}${sysconfdir}/network/interfaces sed -i -e "s,##WPA_DRIVER##,${WPA_DRIVER},g" ${D}${sysconfdir}/network/interfaces - cat ${WORKDIR}/interfaces.br0.example >> ${D}${sysconfdir}/network/interfaces - # Install virtual wlans files if ${HAS_WIFI_VIRTWLANS}; then install_virtwlans install_wlan1 fi + + cat ${WORKDIR}/interfaces.br0.example >> ${D}${sysconfdir}/network/interfaces } install_virtwlans() {