]> code.ossystems Code Review - openembedded-core.git/commitdiff
wpa-supplicant: Avoid blocking the post install script at cross rootfs time.
authorMark Hatle <mark.hatle@windriver.com>
Wed, 9 Nov 2011 23:01:09 +0000 (17:01 -0600)
committerSaul Wold <sgw@linux.intel.com>
Fri, 11 Nov 2011 08:33:50 +0000 (00:33 -0800)
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>
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_0.7.3.bb

index cd62d8f7e9a42e0ab582fb626659002694a322b0..ccdc4c3e7e13ef79ebd79119b3602689358d71d7 100644 (file)
@@ -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`
index 03bd9378901c7d94b42c57e1e580289213a1c933..98eba77de7666af117e0c9c0106a2afbec9470ed 100644 (file)
@@ -1,6 +1,6 @@
 require wpa-supplicant-0.7.inc
 
-PR = "r4"
+PR = "r5"
 
 SRC_URI[md5sum] = "f516f191384a9a546e3f5145c08addda"
 SRC_URI[sha256sum] = "d0cd50caa85346ccc376dcda5ed3c258eef19a93b3cade39d25760118ad59443"