]> code.ossystems Code Review - openembedded-core.git/commit
systemd-conf: do not ask for DHCP if configured on kernel command line
authorStefan Schmidt <stefan.schmidt@huawei.com>
Thu, 4 Mar 2021 19:35:40 +0000 (20:35 +0100)
committerAnuj Mittal <anuj.mittal@intel.com>
Fri, 19 Mar 2021 08:03:25 +0000 (16:03 +0800)
commita321345bee919ff16f6041ded26776da890c395d
tree6fa0232201502fabc3d29ee06c40f462645afd32
parentc0599c12449240bbd7b3add43d01b3481ff1e813
systemd-conf: do not ask for DHCP if configured on kernel command line

In cases where we configure the IP address and more on the kernel
command line with ip= we should not ask for DHCP with systemd-networkd
later on. We have such a setup with our runqemu script.

With this match in place we can also deploy this unit on qemu systems.

Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8c4981e740c0e630200dbc77c9e3dfd3e43b790b)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/recipes-core/systemd/systemd-conf/wired.network
meta/recipes-core/systemd/systemd-conf_246.9.bb