networkmanager: fix some missing pkgconfig
PATCH 1/1 networkmanager: fix some missing pkgconfig
From: Thomas Perrot <[email protected]>
- to build and package nmtui
- to automatically append networkmanager-adsl and networkmanager-wwan in recommended packages.
- to fix an invalid-packageconfig QA issue that is raised when adsl and wwan are added in pkgconfig.
--- .../networkmanager/networkmanager_1.44.0.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb +3 -0
@@ -111,6 +111,7 @@ PACKAGECONFIG[iwd] = "-Diwd=true,-Diwd=false" PACKAGECONFIG[ifupdown] = "-Difupdown=true,-Difupdown=false" PACKAGECONFIG[cloud-setup] = "-Dnm_cloud_setup=true,-Dnm_cloud_setup=false" PACKAGECONFIG[nmcli] = "-Dnmcli=true,-Dnmcli=false" +PACKAGECONFIG[nmtui] = "-Dnmtui=true,-Dnmtui=false,libnewt,libnewt" PACKAGECONFIG[readline] = "-Dreadline=libreadline,,readline" PACKAGECONFIG[libedit] = "-Dreadline=libedit,,libedit" PACKAGECONFIG[ovs] = "-Dovs=true,-Dovs=false,jansson"
@@ -120,6 +121,8 @@ PACKAGECONFIG[vala] = "-Dvapi=true,-Dvapi=false" PACKAGECONFIG[dhcpcd] = "-Ddhcpcd=${base_sbindir}/dhcpcd,-Ddhcpcd=no,,dhcpcd" PACKAGECONFIG[dhclient] = "-Ddhclient=yes,-Ddhclient=no,,dhcp" PACKAGECONFIG[concheck] = "-Dconcheck=true,-Dconcheck=false" +PACKAGECONFIG[adsl] = ",," +PACKAGECONFIG[wwan] = ",," # The following PACKAGECONFIG is used to determine whether NM is managing /etc/resolv.conf itself or not PACKAGECONFIG[man-resolv-conf] = ",,"
Signature · 1 line
2.43.0
Can you say “PACKAGECONFIG”, as pkgconfig is something else entirely.
Quoted 1 line
+PACKAGECONFIG[nmtui] = "-Dnmtui=true,-Dnmtui=false,libnewt,libnewt”
Doesn’t the shared library dependency happy automatically? This puts the RDEPENDS on networkmanager, which isn’t the package containing nmtui.
Ross
Hello,
Quoted 9 lines · Ross Burton
Can you say “PACKAGECONFIG”, as pkgconfig is something else entirely.
Quoted 2 lines
+PACKAGECONFIG[nmtui] = "-Dnmtui=true,-
Dnmtui=false,libnewt,libnewt”Doesn’t the shared library dependency happy automatically? This puts the RDEPENDS on networkmanager, which isn’t the package containing nmtui.
I agree, I'm submitting a v2 that adds the required dependency on ${PN}-nmtui instead.
Kind regards,
Thomas Perrot
Quoted 14 lines
Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#107655):
https://lists.openembedded.org/g/openembedded-devel/message/107655
Mute This Topic: https://lists.openembedded.org/mt/103278844/5443093
Group Owner: [email protected] Unsubscribe:
https://lists.openembedded.org/g/openembedded-devel/unsub [
[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Thomas Perrot, Bootlin Embedded Linux and kernel engineering https://bootlin.com