1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

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>
This commit is contained in:
Mark Hatle
2011-11-09 17:01:09 -06:00
committed by Richard Purdie
parent 71fd6c85c6
commit 8c6239181c
2 changed files with 3 additions and 3 deletions
@@ -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`
@@ -1,6 +1,6 @@
require wpa-supplicant-0.7.inc
PR = "r4"
PR = "r5"
SRC_URI[md5sum] = "f516f191384a9a546e3f5145c08addda"
SRC_URI[sha256sum] = "d0cd50caa85346ccc376dcda5ed3c258eef19a93b3cade39d25760118ad59443"