]> code.ossystems Code Review - openembedded-core.git/commitdiff
wpa-supplicant: Don't run populate-volatile.sh on the build system
authorJeff Dike <jdike@linux.intel.com>
Thu, 3 Jun 2010 19:23:17 +0000 (15:23 -0400)
committerRichard Purdie <rpurdie@linux.intel.com>
Mon, 7 Jun 2010 15:03:45 +0000 (16:03 +0100)
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 <jdike@linux.intel.com>
meta/packages/wpa-supplicant/wpa-supplicant-0.5.inc
meta/packages/wpa-supplicant/wpa-supplicant_0.5.8.bb

index 667b168ee67045bac00a6c83d6732cf1e473237e..220516e57f4a26887c0548bb441cc0a9220b6dbd 100644 (file)
@@ -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
index 440cdebfd85fbb8ff86674269d3d077c189b82d2..6feed719eb542ad7958c35777bfa5f6ad04a5d2f 100644 (file)
@@ -1,3 +1,3 @@
 require wpa-supplicant-0.5.inc
 
-PR = "r5"
+PR = "r6"