Mercurial > hg > aboriginal
changeset 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 | 2868f2d87624 |
children | 21da6f34f3fb |
files | sources/control-images/lfs-bootstrap/mnt/build/module-init-tools.sh |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/sources/control-images/lfs-bootstrap/mnt/build/module-init-tools.sh Tue Nov 23 06:43:54 2010 -0600 +++ b/sources/control-images/lfs-bootstrap/mnt/build/module-init-tools.sh Sun Nov 28 22:06:08 2010 -0600 @@ -1,5 +1,8 @@ #!/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" ]