mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 17:19:23 +00:00
networkmanager: remove /var/run from package
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. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
b9e9d4d144
commit
29c9fc4069
@@ -58,6 +58,9 @@ do_install_append () {
|
||||
# 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"
|
||||
|
||||
Reference in New Issue
Block a user