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

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
@@ -59,13 +59,13 @@ do_install () {
} }
pkg_postinst_wpa-supplicant () { pkg_postinst_wpa-supplicant () {
/etc/init.d/populate-volatile.sh update
# can't do this offline # can't do this offline
if [ "x$D" != "x" ]; then if [ "x$D" != "x" ]; then
exit 1 exit 1
fi fi
/etc/init.d/populate-volatile.sh update
DBUSPID=`pidof dbus-daemon` DBUSPID=`pidof dbus-daemon`
if [ "x$DBUSPID" != "x" ]; then if [ "x$DBUSPID" != "x" ]; then
@@ -1,3 +1,3 @@
require wpa-supplicant-0.5.inc require wpa-supplicant-0.5.inc
PR = "r5" PR = "r6"