[meta-networking] networkmanager: fix installed-vs-shipped error

Message ID 20220308021806.1313-1-kai.kang@windriver.com
State New
Headers show
Series [meta-networking] networkmanager: fix installed-vs-shipped error | expand

Commit Message

Kai March 8, 2022, 2:18 a.m. UTC
From: Kai Kang <kai.kang@windriver.com>

Fix installed-vs-shipped error of networkmanager:

| ERROR: networkmanager-1.36.0-r0 do_package: QA Issue: networkmanager:
         Files/directories were installed but not shipped in any package:
|   /usr/lib/firewalld
|   /usr/lib/firewalld/zones
|   /usr/lib/firewalld/zones/nm-shared.xml
| Please set FILES such that these items are packaged. Alternatively if they
    are unneeded, avoid installing them or delete them with in do_install.
| networkmanager: 3 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 .../networkmanager/networkmanager_1.36.0.bb                     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.36.0.bb b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.36.0.bb
index f6d1b6c38..0ab8cad21 100644
--- a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.36.0.bb
+++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.36.0.bb
@@ -182,7 +182,7 @@  FILES:${PN}-dev += " \
 FILES:${PN} += " \
     ${libexecdir} \
     ${libdir}/NetworkManager \
-    ${libdir}/firewalld/zones \
+    ${nonarch_libdir}/firewalld/zones \
     ${nonarch_libdir}/NetworkManager/conf.d \
     ${nonarch_libdir}/NetworkManager/dispatcher.d \
     ${nonarch_libdir}/NetworkManager/dispatcher.d/pre-down.d \