#!/bin/bash hvconfig_pre() { # 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@etc/adjtime@var/lib/hwclock/adjtime@g' -i $(grep -rl '/etc/adjtime' .) mkdir -pv /var/lib/hwclock } hvconfig() { cd ${LFS_TMP}/${PACKAGE} ./configure \ --enable-arch \ --enable-partx \ --enable-write \ --disable-wall } hvbuild_post() { # Move the logger binary to /bin as it is needed by the CLFS-Bootscripts package: mv -v /usr/bin/logger /bin }