The /var/run/NetworkManager directory is created by the daemon on
startup if it doesn't exist. The /var/run directory is already
created by base-files.
(From meta-openembedded rev:
29c9fc4069b6bf736d43799a465ec124c0d46fd7)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
# Install an empty VPN folder as nm-connection-editor will happily segfault without it :o.
# With or without VPN support built in ;).
install -d ${D}${sysconfdir}/NetworkManager/VPN
+
+ rm -rf "${D}${localstatedir}/run"
+ rmdir --ignore-fail-on-non-empty "${D}${localstatedir}"
}
PACKAGES =+ "libnmutil libnmglib libnmglib-vpn ${PN}-tests ${PN}-bash-completion"