Mercurial > hg > aboriginal
view sources/control-images/lfs-bootstrap/mnt/build/module-init-tools.sh @ 1304:af9bf62b325b
Make the module-init-tools build work on a read-only source filesystem.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 28 Nov 2010 22:06:08 -0600 |
parents | c054a7a36cd9 |
children |
line wrap: on
line source
#!/bin/sh # Read-only filesystem, can't modify in place. rm -f modprobe.d.5 && echo '.so man5/modprobe.conf.5' > modprobe.d.5 || exit 1 if [ ! -z "$CHECK" ] then ./configure && make check && ./tests/runtests && make clean || exit 1 fi ./configure --prefix=/ --enable-zlib-dynamic --mandir=/usr/share/man && make -j $CPUS && make INSTALL=install install