comparison 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
comparison
equal deleted inserted replaced
1268:30bab195be94 1269:7a60afa1846c
1 #!/bin/sh
2
3 ./configure --prefix=/usr --enable-no-install-program=kill,uptime &&
4 make -j $CPUS || exit 1
5
6 if [ ! -z "$CHECK" ]
7 then
8 make NON_ROOT_USERNAME=nobody check-root &&
9 echo "dummy:x:1000:nobody" >> /etc/group &&
10 chown -R nobody . &&
11 su-tools nobody -s /bin/bash -c "make RUN_EXPENSIVE_TESTS=yes check" &&
12 sed -i '/^dummy:/d' /etc/group || exit 1
13 fi
14
15 make install &&
16 mv /usr/bin/chroot /usr/sbin
17