#!/bin/bash hvconfig_pre() { CONFIGURE_OPTS="\ --enable-arch \ --enable-partx \ --enable-write \ --disable-wall" # The FHS recommends that we use /var/lib/hwclock, instead of the usual # /etc, as the location for the adjtime file. To make the hwclock program # FHS-compliant, run the following: sed -e 's@var/lib/hwclock/adjtime@var/lib/hwclock/adjtime@g' -i \ $(grep -rl '/var/lib/hwclock/adjtime' .) mkdir -pv /var/lib/hwclock } hvbuild_post() { # Move the logger binary to /bin as it may be needed by some bootscript. mv -v /usr/bin/logger /bin }