[oe] [meta-networking][PATCH V2] networkmanager: fix "installed-vs-shipped" QA issue

Mark Asselstine mark.asselstine at windriver.com
Fri May 4 18:34:53 UTC 2018


When building we can see the following QA issue:
  QA Issue: networkmanager: Files/directories were installed but
    not shipped in any package:
  [2018-05-02 23:01:40.442528079-07:00]   /usr/lib/NetworkManager
  [2018-05-02 23:01:40.450990449-07:00]   /usr/lib/NetworkManager/conf.d
  [2018-05-02 23:01:40.456642738-07:00]   /usr/lib/NetworkManager/VPN

The upstream project moved these to $prefix/lib as part of upstream
commit 74818b155c32 [build: fix $nmlibdir to be
"/usr/lib/NetworkManager"] and here we adapt the recipe to take this
change into effect.

Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
---

** V2 **
* Use $nonarch_libdir instead of $prefix/lib

 .../recipes-connectivity/networkmanager/networkmanager_1.10.6.bb      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.10.6.bb b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.10.6.bb
index d90b782..7268ce1 100644
--- a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.10.6.bb
+++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.10.6.bb
@@ -100,8 +100,8 @@ FILES_${PN} += " \
     ${libexecdir} \
     ${libdir}/pppd/*/nm-pppd-plugin.so \
     ${libdir}/NetworkManager/*.so \
-    ${libdir}/NetworkManager/VPN \
-    ${libdir}/NetworkManager/conf.d \
+    ${nonarch_libdir}/NetworkManager/VPN \
+    ${nonarch_libdir}/NetworkManager/conf.d \
     ${datadir}/polkit-1 \
     ${datadir}/dbus-1 \
     ${base_libdir}/udev/* \
-- 
2.7.4




More information about the Openembedded-devel mailing list