summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2011-11-09 17:01:09 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-11 11:01:07 +0000
commit8c6239181cbf498e0302b7bb5d97ea71b0dd0f35 (patch)
tree0a9d44191f4d4025bab4a3c1f7e9b646a47776ec /meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc
parent71fd6c85c68db9a121d7420e017de9cc6fd4edec (diff)
downloadpoky-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>
Diffstat (limited to 'meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc')
-rw-r--r--meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc4
1 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 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
68pkg_postinst_wpa-supplicant () { 68pkg_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`