From: Ben Gras Date: Fri, 16 Sep 2005 12:24:10 +0000 (+0000) Subject: Not here X-Git-Tag: v3.1.0~78 X-Git-Url: http://zhaoyanbai.com/repos/mdoc.3.html?a=commitdiff_plain;h=debee76a3867480c217d705bbe090ea56cad7aa0;p=minix.git Not here --- diff --git a/tools/chrootmake.sh b/tools/chrootmake.sh index 68fc3bb4b..3a7ab9632 100755 --- a/tools/chrootmake.sh +++ b/tools/chrootmake.sh @@ -1,6 +1,7 @@ #!/bin/sh export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin cd /usr/src || exit 1 +( cd etc && make install ) make world install || exit 1 cd tools || exit 1 rm revision diff --git a/tools/release.sh b/tools/release.sh index f805ab4d2..4e28b98ed 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -211,7 +211,7 @@ then # Make sure the CD knows it's a CD date >$RELEASEDIR/CD 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" # The build process leaves some file in src as root. chown -R bin $RELEASEDIR/usr/src*