On Wed, 2020-09-23 at 17:45 +0800, Yi Zhao wrote: > As the default network manager, connman has its own internal DHCP > implement. The dhcpcd may conflict with connman if the service start on > boot automatically. > > Signed-off-by: Yi Zhao <[email protected]> > --- > meta/recipes-connectivity/dhcpcd/dhcpcd_9.2.0.bb | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/meta/recipes-connectivity/dhcpcd/dhcpcd_9.2.0.bb > b/meta/recipes-connectivity/dhcpcd/dhcpcd_9.2.0.bb > index 4344841b54..dd473cd815 100644 > --- a/meta/recipes-connectivity/dhcpcd/dhcpcd_9.2.0.bb > +++ b/meta/recipes-connectivity/dhcpcd/dhcpcd_9.2.0.bb > @@ -22,6 +22,7 @@ SRC_URI[sha256sum] = > "fcb2d19672d445bbfd38678fdee4f556ef967a3ea6bd81092d10545df2 > inherit pkgconfig autotools-brokensep systemd useradd > > SYSTEMD_SERVICE_${PN} = "dhcpcd.service" > +SYSTEMD_AUTO_ENABLE_${PN} = "disable" > > PACKAGECONFIG ?= "udev ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" >
Rather than just disabling it, is there a way to "only enable if connman isn't present"? I'd imagine there is some kind of unit file setting for that? (the other patches look good, thanks!) Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#142735): https://lists.openembedded.org/g/openembedded-core/message/142735 Mute This Topic: https://lists.openembedded.org/mt/77031542/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
