Mercurial > hg > aboriginal
annotate sources/control-images/lfs-bootstrap/mnt/build/psmisc.sh @ 1288:c054a7a36cd9
Add rather a lot of Linux From Scratch 6.7 building infrastructure. Needs a bit more debugging.
author | Rob Landley <rob@landley.net> |
---|---|
date | Wed, 17 Nov 2010 22:09:19 -0600 |
parents | |
children | 42fd798bbe3e |
rev | line source |
---|---|
1288
c054a7a36cd9
Add rather a lot of Linux From Scratch 6.7 building infrastructure. Needs a bit more debugging.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
1 #!/bin/sh |
c054a7a36cd9
Add rather a lot of Linux From Scratch 6.7 building infrastructure. Needs a bit more debugging.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
2 |
c054a7a36cd9
Add rather a lot of Linux From Scratch 6.7 building infrastructure. Needs a bit more debugging.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
3 # Another bugfix that you'd think would be a patch, but no... |
c054a7a36cd9
Add rather a lot of Linux From Scratch 6.7 building infrastructure. Needs a bit more debugging.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
4 |
c054a7a36cd9
Add rather a lot of Linux From Scratch 6.7 building infrastructure. Needs a bit more debugging.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
5 sed -i 's@#include<sys\/usr.h>@#include <bits\/types.h>\&@' configure && |
c054a7a36cd9
Add rather a lot of Linux From Scratch 6.7 building infrastructure. Needs a bit more debugging.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
6 |
c054a7a36cd9
Add rather a lot of Linux From Scratch 6.7 building infrastructure. Needs a bit more debugging.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
7 ./configure --prefix=/usr && |
c054a7a36cd9
Add rather a lot of Linux From Scratch 6.7 building infrastructure. Needs a bit more debugging.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
8 make -j $CPUS && |
c054a7a36cd9
Add rather a lot of Linux From Scratch 6.7 building infrastructure. Needs a bit more debugging.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
9 make install |