[OE-core] [CONSOLIDATED PULL 4/9] wpa-supplicant: Avoid blocking the post install script at cross rootfs time.
Saul Wold
sgw at linux.intel.com
Fri Nov 11 08:36:30 UTC 2011
From: Mark Hatle <mark.hatle at windriver.com>
We only want to reload dbus, if we're install on the target -- not on the host.
Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
---
.../wpa-supplicant/wpa-supplicant-0.7.inc | 4 ++--
.../wpa-supplicant/wpa-supplicant_0.7.3.bb | 2 +-
2 files changed, 3 insertions(+), 3 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 cd62d8f..ccdc4c3 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`
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_0.7.3.bb b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_0.7.3.bb
index 03bd937..98eba77 100644
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_0.7.3.bb
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_0.7.3.bb
@@ -1,6 +1,6 @@
require wpa-supplicant-0.7.inc
-PR = "r4"
+PR = "r5"
SRC_URI[md5sum] = "f516f191384a9a546e3f5145c08addda"
SRC_URI[sha256sum] = "d0cd50caa85346ccc376dcda5ed3c258eef19a93b3cade39d25760118ad59443"
--
1.7.6.4
More information about the Openembedded-core
mailing list