mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-12 17:21:52 +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:
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.
|
# Install an empty VPN folder as nm-connection-editor will happily segfault without it :o.
|
||||||
# With or without VPN support built in ;).
|
# With or without VPN support built in ;).
|
||||||
install -d ${D}${sysconfdir}/NetworkManager/VPN
|
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"
|
PACKAGES =+ "libnmutil libnmglib libnmglib-vpn ${PN}-tests ${PN}-bash-completion"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user