diff options
author | Jonathan Liu <net147@gmail.com> | 2013-07-06 11:44:17 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-07-08 10:35:57 +0200 |
commit | 29c9fc4069b6bf736d43799a465ec124c0d46fd7 (patch) | |
tree | 43e06a61badaa17287596be4338f3ed184fb050d /meta-oe/recipes-connectivity/networkmanager | |
parent | b9e9d4d1442ec242ec2701d83156145198e92327 (diff) | |
download | meta-openembedded-29c9fc4069b6bf736d43799a465ec124c0d46fd7.tar.gz |
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>
Diffstat (limited to 'meta-oe/recipes-connectivity/networkmanager')
-rw-r--r-- | meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.8.0.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.8.0.bb b/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.8.0.bb index 07f0c282d..70bda2772 100644 --- a/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.8.0.bb +++ b/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.8.0.bb | |||
@@ -58,6 +58,9 @@ do_install_append () { | |||
58 | # Install an empty VPN folder as nm-connection-editor will happily segfault without it :o. | 58 | # Install an empty VPN folder as nm-connection-editor will happily segfault without it :o. |
59 | # With or without VPN support built in ;). | 59 | # With or without VPN support built in ;). |
60 | install -d ${D}${sysconfdir}/NetworkManager/VPN | 60 | install -d ${D}${sysconfdir}/NetworkManager/VPN |
61 | |||
62 | rm -rf "${D}${localstatedir}/run" | ||
63 | rmdir --ignore-fail-on-non-empty "${D}${localstatedir}" | ||
61 | } | 64 | } |
62 | 65 | ||
63 | PACKAGES =+ "libnmutil libnmglib libnmglib-vpn ${PN}-tests ${PN}-bash-completion" | 66 | PACKAGES =+ "libnmutil libnmglib libnmglib-vpn ${PN}-tests ${PN}-bash-completion" |