[2/2] networkmanager: move udev-rules from /usr/lib -> /lib

Submitted by Andreas Müller on Dec. 1, 2018, 1:52 p.m. | Patch ID: 156775

Details

Message ID 20181201135250.16390-2-schnitzeltony@gmail.com
State Accepted
Commit 331b717b862e3599b99942acb64c1d6b03806042
Headers show

Commit Message

Andreas Müller Dec. 1, 2018, 1:52 p.m.
Seems udev-rules in /usr/lib are ignored: systemd-analayse reported >3min!
for system startup time!

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
 .../recipes-connectivity/networkmanager/networkmanager_1.14.4.bb       | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.14.4.bb b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.14.4.bb
index 4cc4dbab5..870a52814 100644
--- a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.14.4.bb
+++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.14.4.bb
@@ -50,6 +50,7 @@  EXTRA_OECONF = " \
     --with-iptables=${sbindir}/iptables \
     --with-tests \
     --with-nmtui=yes \
+    --with-udev-dir=${nonarch_base_libdir}/udev \
 "
 
 # gobject-introspection related
@@ -108,7 +109,7 @@  FILES_${PN} += " \
     ${nonarch_libdir}/NetworkManager/conf.d \
     ${datadir}/polkit-1 \
     ${datadir}/dbus-1 \
-    ${base_libdir}/udev/* \
+    ${noarch_base_libdir}/udev/* \
     ${systemd_unitdir}/system \
 "