From 8c6239181cbf498e0302b7bb5d97ea71b0dd0f35 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Wed, 9 Nov 2011 17:01:09 -0600 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc') 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` -- cgit v1.2.3-54-g00ecf