view sources/control-images/lfs-bootstrap/mnt/build/coreutils.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 a4cb2ed0a551
children
line wrap: on
line source

#!/bin/sh

./configure --prefix=/usr --enable-no-install-program=kill,uptime &&
make -j "$CPUS" || exit 1

if [ ! -z "$CHECK" ]
then
  make NON_ROOT_USERNAME=nobody check-root &&
  echo "dummy:x:1000:nobody" >> /etc/group &&
  chown -R nobody . &&
  su-tools nobody -s /bin/bash -c "make RUN_EXPENSIVE_TESTS=yes check" &&
  sed -i '/^dummy:/d' /etc/group || exit 1
fi

make install &&  
mv /usr/bin/chroot /usr/sbin || exit 1