diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2022-12-09 01:54:22 -0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2022-12-20 10:47:16 -0500 |
commit | 971a33338ff7fc9b90b4063c273c3df79dca2905 (patch) | |
tree | c7ff10580b4278bb02d56288d05be07c3a000430 | |
parent | 4f15bf4a46d04945f6640c08bb1589c17fb138b6 (diff) | |
download | meta-openembedded-971a33338ff7fc9b90b4063c273c3df79dca2905.tar.gz |
networkmanager: fix dhcpcd PACKAGECONFIG
Without this patch, even if dhcpcd is enabled, the NetworkManager
cannot find it. Below are the messages from NetworkMananger:
dhcp: init: DHCP client 'dhcpcd' not available
dhcp: init: Using DHCP client 'internal'
The problem is that dhcpcd needs to be specified as a path, otherwise
NetworkManager tries to find it in /usr/sbin/dhcpcd.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 178123a0066c40db1e75d018dc65f056fb03b826)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | meta-networking/recipes-connectivity/networkmanager/networkmanager_1.40.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.40.0.bb b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.40.0.bb index 10241e12a6..110b499aaa 100644 --- a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.40.0.bb +++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.40.0.bb | |||
@@ -104,7 +104,7 @@ PACKAGECONFIG[ovs] = "-Dovs=true,-Dovs=false,jansson" | |||
104 | PACKAGECONFIG[audit] = "-Dlibaudit=yes,-Dlibaudit=no" | 104 | PACKAGECONFIG[audit] = "-Dlibaudit=yes,-Dlibaudit=no" |
105 | PACKAGECONFIG[selinux] = "-Dselinux=true,-Dselinux=false,libselinux" | 105 | PACKAGECONFIG[selinux] = "-Dselinux=true,-Dselinux=false,libselinux" |
106 | PACKAGECONFIG[vala] = "-Dvapi=true,-Dvapi=false" | 106 | PACKAGECONFIG[vala] = "-Dvapi=true,-Dvapi=false" |
107 | PACKAGECONFIG[dhcpcd] = "-Ddhcpcd=yes,-Ddhcpcd=no,,dhcpcd" | 107 | PACKAGECONFIG[dhcpcd] = "-Ddhcpcd=${base_sbindir}/dhcpcd,-Ddhcpcd=no,,dhcpcd" |
108 | PACKAGECONFIG[dhclient] = "-Ddhclient=yes,-Ddhclient=no,,dhcp" | 108 | PACKAGECONFIG[dhclient] = "-Ddhclient=yes,-Ddhclient=no,,dhcp" |
109 | PACKAGECONFIG[concheck] = "-Dconcheck=true,-Dconcheck=false" | 109 | PACKAGECONFIG[concheck] = "-Dconcheck=true,-Dconcheck=false" |
110 | 110 | ||