summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2012-05-24 22:51:37 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-25 11:17:40 +0100
commit96a1b26c62ef33f6d10fe7ac9dcf5f93c683d6e8 (patch)
tree616bd711144776f8fa0cadcbfe890cf953fddb24
parent257b9e371143421b78a6991ef5401e564918c164 (diff)
downloadopenembedded-core-96a1b26c62ef33f6d10fe7ac9dcf5f93c683d6e8.tar.gz
openembedded-core-96a1b26c62ef33f6d10fe7ac9dcf5f93c683d6e8.tar.bz2
openembedded-core-96a1b26c62ef33f6d10fe7ac9dcf5f93c683d6e8.zip
wpa-supplicant: don't let postinst fail when dbus-1 reload fails
* e.g. when upgrading in chroot Configuring wpa-supplicant. Reloading system message bus config: Failed to open connection to system message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused but that shouldn't be fatal Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc2
-rw-r--r--meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_0.7.3.bb2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc
index efd1a66f60..6c84202a49 100644
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc
@@ -74,6 +74,6 @@ pkg_postinst_wpa-supplicant () {
DBUSPID=`pidof dbus-daemon`
if [ "x$DBUSPID" != "x" ]; then
- /etc/init.d/dbus-1 reload
+ /etc/init.d/dbus-1 reload || true
fi
}
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_0.7.3.bb b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_0.7.3.bb
index 7bbb8c08ea..6f6378b57a 100644
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_0.7.3.bb
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_0.7.3.bb
@@ -1,6 +1,6 @@
require wpa-supplicant-0.7.inc
-PR = "r11"
+PR = "r12"
SRC_URI[md5sum] = "f516f191384a9a546e3f5145c08addda"
SRC_URI[sha256sum] = "d0cd50caa85346ccc376dcda5ed3c258eef19a93b3cade39d25760118ad59443"