networkmanager: fix some missing pkgconfig
PATCH v2 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 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta-networking/recipes-connectivity/networkmanager/networkmanager_1.44.0.bb +4 -1
@@ -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" 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] = ",,"
@@ -189,7 +192,7 @@ FILES:${PN}-nmtui = " \ ${bindir}/nmtui-connect \ ${bindir}/nmtui-hostname \ " -RDEPENDS:${PN}-nmtui += "${PN}-daemon" +RDEPENDS:${PN}-nmtui += "${PN}-daemon ${@bb.utils.contains('PACKAGECONFIG','nmtui','libnewt','',d)}" SUMMARY:${PN}-wifi = "Wifi plugin for NetworkManager" FILES:${PN}-wifi = "\
Signature · 1 line
2.43.0
Quoted 2 lines · Thomas Perrot via lists.openembedded.org
+RDEPENDS:${PN}-nmtui += "${PN}-daemon ${@bb.utils.contains('PACKAGECONFIG','nmtui','libnewt','',d)}”
My point still remains: it looks like nmtui links to libnewt directly and doesn’t dlopen, so why is this needed?
Ross
Quoted 8 lines · Ross Burton
Quoted 3 lines · Thomas Perrot via lists.openembedded.org
+RDEPENDS:${PN}-nmtui += "${PN}-daemon ${@bb.utils.contains('PACKAGECONFIG','nmtui','libnewt','',d)}”
My point still remains: it looks like nmtui links to libnewt directly and doesn’t dlopen, so why is this needed?
This is a mistake, this isn't necessary, thank you.
Kind regards,
Thomas Perrot
Quoted 17 lines
Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#107661):
https://lists.openembedded.org/g/openembedded-devel/message/107661
Mute This Topic: https://lists.openembedded.org/mt/103281132/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
Khem Raj
AppliedQuoted 8 lines · On Wed, 20 Dec 2023 15:15:50 +0100, [email protected] wrote:
- 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.[...]
Applied, thanks!
[1/1] networkmanager: fix some missing pkgconfig
commit: c331f59e42e9c0bda9d47d0365e6c276746fc81d
Best regards,
Signature · 1 line
Khem Raj <[email protected]>