#!/bin/bash hvconfig_pre() { CONFIGURE_OPTS+=" \ --libexecdir=/usr/lib \ --enable-no-install-program=kill,uptime" } hvbuild_post() { # Move some programs to their proper FHS locations: mv -v /usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} /bin mv -v /usr/bin/{false,ln,ls,mkdir,mknod,mv,pwd,rm} /bin # Now specify new path to mv to eliminate error message: # "/usr/bin/mv: No such file or directory" /bin/mv -v /usr/bin/{rmdir,stty,sync,true,uname} /bin /bin/mv -v /usr/bin/chroot /usr/sbin # Some of the scripts in the LFS-Bootscripts package depend on head # sleep and nice. As /usr may not be available during the early stages # of booting, those binaries need to be on the root partition: /bin/mv -v /usr/bin/{head,sleep,nice} /bin }