view images/lfs-bootstrap/mnt/build/tar.sh @ 0:bcd2e358d57f

Start by copying the existing control image building infrastructure from Aboriginal Linux, and shuffling the layout around a bit.
author Rob Landley <rob@landley.net>
date Sun, 03 Jul 2011 17:23:26 -0500
parents
children 0bdce741ba83
line wrap: on
line source

#!/bin/sh

sed -i /SIGPIPE/d src/tar.c &&
./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin &&
make -j $CPUS || exit 1

if [ ! -z "$CHECK" ]
then
  sed -i '35 i AT_UNPRIVILEGED_PREREQ' tests/remfiles01.at &&
  make check || exit 1
fi

make install