summaryrefslogtreecommitdiffstats
path: root/stage1
diff options
context:
space:
mode:
authorAl Stone <ahs3@redhat.com>2012-10-10 15:38:53 -0600
committerAl Stone <ahs3@redhat.com>2012-10-10 15:38:53 -0600
commit0e989bc0c1de7918e958162df4ac38a4b24299cb (patch)
treedf1e32f3eafd689df69d65ea587a3a6eddb7a00e /stage1
parent8d9c1e99b7357ce16d8c7283bb74d4fd898ccdc8 (diff)
downloadbootstrap.git.DONOTUSE-0e989bc0c1de7918e958162df4ac38a4b24299cb.tar.gz
bootstrap.git.DONOTUSE-0e989bc0c1de7918e958162df4ac38a4b24299cb.tar.xz
bootstrap.git.DONOTUSE-0e989bc0c1de7918e958162df4ac38a4b24299cb.zip
final corrections for aarch64 stage1
Diffstat (limited to 'stage1')
-rwxr-xr-xstage122
1 files changed, 16 insertions, 6 deletions
diff --git a/stage1 b/stage1
index 419cda2..71b98b1 100755
--- a/stage1
+++ b/stage1
@@ -372,8 +372,6 @@ case "$1" in
go t-gcc
go bash
go make
-# only run this far, for now
- exit 0
go sed
go coreutils
go util-linux
@@ -390,6 +388,8 @@ case "$1" in
go grep
go distcc
go ccache
+# only run this far, for now
+ exit 0
go stage2
go stage3
@@ -809,7 +809,7 @@ EOF
ln -s gcc ${ROOTFS}/usr/bin/cc
;;
- make | tar | gzip | diffutils | findutils | gawk | which | grep )
+ make | tar | gzip | diffutils | gawk | which | grep )
srpm $1
mcd $BUILDDIR/$1
$SRC/${1}-*/configure $TCONFIGARGS
@@ -819,6 +819,16 @@ EOF
make $J install DESTDIR=${ROOTFS}
;;
+ findutils )
+ srpm $1
+ mcd $BUILDDIR/$1
+ FINDLIBS="-lselinux -ldl" $SRC/${1}-*/configure $TCONFIGARGS
+ notparallel
+ test -d tools/gnulib/lib && make $J V=1 -C tools/gnulib/lib
+ make $J V=1
+ make $J install DESTDIR=${ROOTFS}
+ ;;
+
sed )
srpm $1
mcd $BUILDDIR/$1
@@ -829,7 +839,7 @@ EOF
# built sed binary in order to extract the --help output, but
# this fails because the sed binary is a cross-tool.
touch doc/sed.1
- make $J V=1
+ make $J V=1 CFLAGS="-lselinux -Wl,-rpath -Wl,${ROOTFS}/lib"
make $J install DESTDIR=${ROOTFS}
;;
@@ -889,7 +899,7 @@ EOF
base=`echo $i | sed 's/\.x//'`
touch man/$base.1
done
- make $J V=1
+ make $J V=1 CFLAGS="-lselinux -Wl,-rpath -Wl,${ROOTFS}/lib"
make $J install DESTDIR=${ROOTFS}
;;
@@ -935,7 +945,7 @@ EOF
distcc )
srpm distcc
mcd $BUILDDIR/distcc
- $SRC/${1}-*/configure $TCONFIGARGS --disable-Werror
+ $SRC/${1}-*/configure $TCONFIGARGS --disable-Werror --without-avahi
notparallel
make $J V=1
make $J install DESTDIR=${ROOTFS}