diff options
author | 2011-11-09 17:01:09 -0600 | |
---|---|---|
committer | 2011-11-11 00:33:50 -0800 | |
commit | 1ce23fe7d7c33c196af3ba25b4e97496718328d1 (patch) | |
tree | c38bc9d20b3e0d7392367265ae931163f8c6edb0 /meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc | |
parent | a7e70227bac72c4f7d3419f94f6915da4c7e3f43 (diff) | |
download | openembedded-core-contrib-1ce23fe7d7c33c196af3ba25b4e97496718328d1.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.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
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.inc | 4 |
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 () { } pkg_postinst_wpa-supplicant () { - # can't do this offline + # If we're offline, we don't need to do this. if [ "x$D" != "x" ]; then - exit 1 + exit 0 fi DBUSPID=`pidof dbus-daemon` |