This commit is contained in:
Ben Gras 2005-09-16 12:24:10 +00:00
parent 15d95873ef
commit debee76a38
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,7 @@
#!/bin/sh #!/bin/sh
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
cd /usr/src || exit 1 cd /usr/src || exit 1
( cd etc && make install )
make world install || exit 1 make world install || exit 1
cd tools || exit 1 cd tools || exit 1
rm revision rm revision

View file

@ -211,7 +211,7 @@ then
# Make sure the CD knows it's a CD # Make sure the CD knows it's a CD
date >$RELEASEDIR/CD date >$RELEASEDIR/CD
echo " * Chroot build" echo " * Chroot build"
chroot $RELEASEDIR "/usr/bin su bin -c '/bin/sh -x /usr/src/tools/chrootmake.sh'" || exit 1 chroot $RELEASEDIR "/bin/sh -x /usr/src/tools/chrootmake.sh" || exit 1
echo " * Chroot build done" echo " * Chroot build done"
# The build process leaves some file in src as root. # The build process leaves some file in src as root.
chown -R bin $RELEASEDIR/usr/src* chown -R bin $RELEASEDIR/usr/src*