annotate sources/control-images/lfs-bootstrap/mnt/build/psmisc.sh @ 1301:42fd798bbe3e

Make more of the LFS build actually build.
author Rob Landley <rob@landley.net>
date Mon, 22 Nov 2010 17:53:17 -0600
parents c054a7a36cd9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
1301
42fd798bbe3e Make more of the LFS build actually build.
Rob Landley <rob@landley.net>
parents: 1288
diff changeset
7 ./configure --prefix=/usr --disable-nls &&
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
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