Skip to contentSkip to conversation

Fix the libnm* packages

PATCH In review Adrian Bunk 2 participants 3 messages Jan 30, 2019 – Jan 31, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix the libnm* packages

- libnmutil, libnmglib and libnmglib-vpn no longer exist after the 1.10.10 -> 1.14.4 upgrade
- add a package for libnm

---
 .../recipes-connectivity/networkmanager/networkmanager_1.14.4.bb    | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
meta-networking/recipes-connectivity/networkmanager/networkmanager_1.14.4.bb +2 -4
index f1826c68e..9efe1fe49 100644
@@ -90,14 +90,12 @@ PACKAGECONFIG[wifi] = "--enable-wifi=yes,--enable-wifi=no,,wpa-supplicant"
 PACKAGECONFIG[ifupdown] = "--enable-ifupdown,--disable-ifupdown"
 PACKAGECONFIG[qt4-x11-free] = "--enable-qt,--disable-qt,qt4-x11-free"
 
-PACKAGES =+ "libnmutil libnmglib libnmglib-vpn \
+PACKAGES =+ "libnm \
   ${PN}-nmtui ${PN}-nmtui-doc \
   ${PN}-adsl \
 "
 
-FILES_libnmutil += "${libdir}/libnm-util.so.*"
-FILES_libnmglib += "${libdir}/libnm-glib.so.*"
-FILES_libnmglib-vpn += "${libdir}/libnm-glib-vpn.so.*"
+FILES_libnm += "${libdir}/libnm.so.*"
 
 FILES_${PN}-adsl = "${libdir}/NetworkManager/libnm-device-plugin-adsl.so"
 
Signature · 1 line
2.11.0
#1 lore raw
Quoted 3 lines · Adrian Bunk

- libnmutil, libnmglib and libnmglib-vpn no longer exist after the 1.10.10 -> 1.14.4 upgrade

Checked (OK am on thud environment) but it is 1.14.4. All packages you want to remove contain files on my build! Are you sure that you have the required PACKAGECONFIGS set (please set all and test) and the nasty new 'polkit' in your distro features?

So Khem - have seen this on master-next - please block this one - I expect fallout.

Andreas

Quoted 36 lines

- add a package for libnm

---
 .../recipes-connectivity/networkmanager/networkmanager_1.14.4.bb    | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
meta-networking/recipes-connectivity/networkmanager/networkmanager_1.14.4.bb +2 -5
index f1826c68e..9efe1fe49 100644
@@ -90,14 +90,12 @@ PACKAGECONFIG[wifi] = "--enable-wifi=yes,--enable-wifi=no,,wpa-supplicant"
 PACKAGECONFIG[ifupdown] = "--enable-ifupdown,--disable-ifupdown"
 PACKAGECONFIG[qt4-x11-free] = "--enable-qt,--disable-qt,qt4-x11-free"
 
-PACKAGES =+ "libnmutil libnmglib libnmglib-vpn \
+PACKAGES =+ "libnm \
   ${PN}-nmtui ${PN}-nmtui-doc \
   ${PN}-adsl \
 "
 
-FILES_libnmutil += "${libdir}/libnm-util.so.*"
-FILES_libnmglib += "${libdir}/libnm-glib.so.*"
-FILES_libnmglib-vpn += "${libdir}/libnm-glib-vpn.so.*"
+FILES_libnm += "${libdir}/libnm.so.*"
 
 FILES_${PN}-adsl = "${libdir}/NetworkManager/libnm-device-plugin-adsl.so"
 
--

2.11.0

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#2 lore raw
Quoted 9 lines · Andreas Müller
Quoted 3 lines · Adrian Bunk

- libnmutil, libnmglib and libnmglib-vpn no longer exist after the 1.10.10 -> 1.14.4 upgrade

Checked (OK am on thud environment) but it is 1.14.4. All packages you want to remove contain files on my build! Are you sure that you have the required PACKAGECONFIGS set (please set all and test) and the nasty new 'polkit' in your distro features?
...

Thanks for spotting my mistake.

The problem is actually not related to polkit, my mistake was due to the glib PACKAGECONFIG: I misremembered that it was removed in NM 1.12, but it is actually only strongly deprecated (and no longer shipped in distributions like Debian/Ubuntu).

Quoted 1 line

Andreas

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed