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 <jdike@linux.intel.com>
This commit is contained in:
Jeff Dike 2010-06-03 15:23:17 -04:00 committed by Richard Purdie
parent 8f367b6930
commit 42e7e4f3e2
2 changed files with 3 additions and 3 deletions

View 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

View File

@ -1,3 +1,3 @@
require wpa-supplicant-0.5.inc
PR = "r5"
PR = "r6"