diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2012-05-24 22:51:37 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-25 11:18:04 +0100 |
commit | de0d55cd9e8dfa73327e2371afc4a184484e7a4e (patch) | |
tree | 66724b107e3faa8b4308f6b9ad0d46f5d7f8c8cc | |
parent | d03e29fec2c596894d01114d913e03fb9b6af482 (diff) | |
download | poky-de0d55cd9e8dfa73327e2371afc4a184484e7a4e.tar.gz |
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
(From OE-Core rev: 96a1b26c62ef33f6d10fe7ac9dcf5f93c683d6e8)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc | 2 | ||||
-rw-r--r-- | meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_0.7.3.bb | 2 |
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 () { | |||
74 | DBUSPID=`pidof dbus-daemon` | 74 | DBUSPID=`pidof dbus-daemon` |
75 | 75 | ||
76 | if [ "x$DBUSPID" != "x" ]; then | 76 | if [ "x$DBUSPID" != "x" ]; then |
77 | /etc/init.d/dbus-1 reload | 77 | /etc/init.d/dbus-1 reload || true |
78 | fi | 78 | fi |
79 | } | 79 | } |
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 @@ | |||
1 | require wpa-supplicant-0.7.inc | 1 | require wpa-supplicant-0.7.inc |
2 | 2 | ||
3 | PR = "r11" | 3 | PR = "r12" |
4 | 4 | ||
5 | SRC_URI[md5sum] = "f516f191384a9a546e3f5145c08addda" | 5 | SRC_URI[md5sum] = "f516f191384a9a546e3f5145c08addda" |
6 | SRC_URI[sha256sum] = "d0cd50caa85346ccc376dcda5ed3c258eef19a93b3cade39d25760118ad59443" | 6 | SRC_URI[sha256sum] = "d0cd50caa85346ccc376dcda5ed3c258eef19a93b3cade39d25760118ad59443" |