]> code.ossystems Code Review - openembedded-core.git/commit
connman-conf: do nothing in qemu, do not touch eth0
authorAlexander Kanavin <alex.kanavin@gmail.com>
Tue, 11 Jan 2022 22:14:39 +0000 (23:14 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 12 Jan 2022 07:19:16 +0000 (07:19 +0000)
commit3c25b89720417a7b1963f0a32c870208a5803950
tree6dedebb7e87a76ab5d481694704547c588f7cfcc
parenta995c2e2d3bc119fca7c6e3b26e430dea391b914
connman-conf: do nothing in qemu, do not touch eth0

qemu kernel itself is nowdays perfectly capable of setting up
what was passed in via ip=:

    [    1.676847] IP-Config: Complete:
    [    1.677768]      device=eth0, hwaddr=52:54:00:12:34:02, ipaddr=192.168.7.2, mask=255.255.255.0, gw=192.168.7.1
    [    1.679933]      host=192.168.7.2, domain=, nis-domain=(none)
    [    1.681201]      bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
    [    1.681203]      nameserver0=8.8.8.8

connman-conf only does the same thing again by (badly and incompletely)
parsing those parameters with sed.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/connman/connman-conf.bb
meta/recipes-connectivity/connman/connman-conf/qemuall/wired-connection.service [deleted file]
meta/recipes-connectivity/connman/connman-conf/qemuall/wired-setup [deleted file]
meta/recipes-connectivity/connman/connman-conf/qemuall/wired.config [deleted file]
meta/recipes-connectivity/connman/connman/connman