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>
}
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
require wpa-supplicant-0.5.inc
-PR = "r5"
+PR = "r6"