From 42e7e4f3e2e2f2783d4960a352e93f67e8ef4e9f Mon Sep 17 00:00:00 2001 From: Jeff Dike Date: Thu, 3 Jun 2010 15:23:17 -0400 Subject: wpa-supplicant: Don't run populate-volatile.sh on the build system Move the populate-volatile.sh call to below the offline check. Otherwise, it will try to run during the build, on a system which likely doesn't have populate-volatile.sh. Signed-off-by: Jeff Dike --- meta/packages/wpa-supplicant/wpa-supplicant-0.5.inc | 4 ++-- meta/packages/wpa-supplicant/wpa-supplicant_0.5.8.bb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'meta') diff --git a/meta/packages/wpa-supplicant/wpa-supplicant-0.5.inc b/meta/packages/wpa-supplicant/wpa-supplicant-0.5.inc index 667b168ee..220516e57 100644 --- a/meta/packages/wpa-supplicant/wpa-supplicant-0.5.inc +++ b/meta/packages/wpa-supplicant/wpa-supplicant-0.5.inc @@ -59,13 +59,13 @@ do_install () { } pkg_postinst_wpa-supplicant () { - /etc/init.d/populate-volatile.sh update - # can't do this offline if [ "x$D" != "x" ]; then exit 1 fi + /etc/init.d/populate-volatile.sh update + DBUSPID=`pidof dbus-daemon` if [ "x$DBUSPID" != "x" ]; then diff --git a/meta/packages/wpa-supplicant/wpa-supplicant_0.5.8.bb b/meta/packages/wpa-supplicant/wpa-supplicant_0.5.8.bb index 440cdebfd..6feed719e 100644 --- a/meta/packages/wpa-supplicant/wpa-supplicant_0.5.8.bb +++ b/meta/packages/wpa-supplicant/wpa-supplicant_0.5.8.bb @@ -1,3 +1,3 @@ require wpa-supplicant-0.5.inc -PR = "r5" +PR = "r6" -- cgit v1.2.3