[oe-commits] David-John Willis : networkmanager: Update recipe to install an empty VPN folder in /etc/ networkmanager as nm-connection-editor will happily segfault without it.
git version control
git at git.openembedded.org
Tue Dec 15 13:46:20 UTC 2009
Module: openembedded.git
Branch: martin_jansa/srcpv
Commit: e3b03c43cca44be73bf483c71ea3196053a80257
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e3b03c43cca44be73bf483c71ea3196053a80257
Author: David-John Willis <John.Willis at Distant-earth.com>
Date: Sun Dec 13 19:33:13 2009 +0000
networkmanager: Update recipe to install an empty VPN folder in /etc/networkmanager as nm-connection-editor will happily segfault without it.
* This happens regardless of the VPN setting in the build.
---
recipes/networkmanager/networkmanager_0.7.1.997.bb | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/recipes/networkmanager/networkmanager_0.7.1.997.bb b/recipes/networkmanager/networkmanager_0.7.1.997.bb
index fe90d7e..8b89f97 100644
--- a/recipes/networkmanager/networkmanager_0.7.1.997.bb
+++ b/recipes/networkmanager/networkmanager_0.7.1.997.bb
@@ -1,5 +1,7 @@
require networkmanager-0.7.inc
+PR = "r1"
+
SRC_URI += " \
file://remove-gtk-doc-make.patch;patch=1 \
file://nm-system-settings.conf \
@@ -22,5 +24,9 @@ do_install_append () {
install -d ${D}/etc/NetworkManager/
install -m 0644 ${WORKDIR}/nm-system-settings.conf ${D}/etc/NetworkManager/
install -m 0755 ${WORKDIR}/NetworkManager ${D}/etc/init.d
+
+ # 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}/etc/NetworkManager/VPN
}
More information about the Openembedded-commits
mailing list