diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2011-11-09 17:01:09 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-11 11:01:07 +0000 |
commit | 8c6239181cbf498e0302b7bb5d97ea71b0dd0f35 (patch) | |
tree | 0a9d44191f4d4025bab4a3c1f7e9b646a47776ec | |
parent | 71fd6c85c68db9a121d7420e017de9cc6fd4edec (diff) | |
download | poky-8c6239181cbf498e0302b7bb5d97ea71b0dd0f35.tar.gz |
wpa-supplicant: Avoid blocking the post install script at cross rootfs time.
We only want to reload dbus, if we're install on the target -- not on the host.
(From OE-Core rev: 1ce23fe7d7c33c196af3ba25b4e97496718328d1)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc | 4 | ||||
-rw-r--r-- | meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_0.7.3.bb | 2 |
2 files changed, 3 insertions, 3 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 cd62d8f7e9..ccdc4c3e7e 100644 --- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc +++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc | |||
@@ -66,9 +66,9 @@ do_install () { | |||
66 | } | 66 | } |
67 | 67 | ||
68 | pkg_postinst_wpa-supplicant () { | 68 | pkg_postinst_wpa-supplicant () { |
69 | # can't do this offline | 69 | # If we're offline, we don't need to do this. |
70 | if [ "x$D" != "x" ]; then | 70 | if [ "x$D" != "x" ]; then |
71 | exit 1 | 71 | exit 0 |
72 | fi | 72 | fi |
73 | 73 | ||
74 | DBUSPID=`pidof dbus-daemon` | 74 | DBUSPID=`pidof dbus-daemon` |
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 03bd937890..98eba77de7 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 = "r4" | 3 | PR = "r5" |
4 | 4 | ||
5 | SRC_URI[md5sum] = "f516f191384a9a546e3f5145c08addda" | 5 | SRC_URI[md5sum] = "f516f191384a9a546e3f5145c08addda" |
6 | SRC_URI[sha256sum] = "d0cd50caa85346ccc376dcda5ed3c258eef19a93b3cade39d25760118ad59443" | 6 | SRC_URI[sha256sum] = "d0cd50caa85346ccc376dcda5ed3c258eef19a93b3cade39d25760118ad59443" |