Got it working now by changing the module-init-tools commands to be:
sed -e 's/^CFLAGS .*$/& -pie -fpie/' -i Makefile.in
touch modprobe.conf.5
./configure
make check
make distclean
touch modprobe.conf.5
./configure --prefix=/ --enable-zlib
make DOCBOOKTOMAN=""
make install
This
> I'm rebuilding at present with prefix changed back to "" to see if that
> works as expected...
Same problem, module-init-tools stuff being put in /usr/local/ so now I'm
rebuilding with prefix set to "/usr".
--
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscrat