view sources/native-builds/lfs-bootstrap/mnt/build/coreutils.sh @ 1269:7a60afa1846c

More tweaks to bootstrap-skeleton, implement the first half of lfs-bootstrap for Linux From Scratch 6.7 against the new infrastructure, and tweak gentoo build to stay current with bootstrap-skeleton changes. (Now more common infrastructure, and requires package-list file.)
author Rob Landley <rob@landley.net>
date Sun, 24 Oct 2010 04:17:15 -0500
parents
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